BIND 10 master, updated. 50ef0ada77267ba465c6e35489f435a42ac9d39f Another fix for MacOS compilation.

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Dec 23 16:34:06 UTC 2011


The branch, master has been updated
       via  50ef0ada77267ba465c6e35489f435a42ac9d39f (commit)
      from  7f8da8e4b1bbafac7156e8cd2f39330467c2233d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 50ef0ada77267ba465c6e35489f435a42ac9d39f
Author: Tomek Mrugalski <tomasz at isc.org>
Date:   Fri Dec 23 17:33:27 2011 +0100

    Another fix for MacOS compilation.

-----------------------------------------------------------------------

Summary of changes:
 src/lib/dhcp/iface_mgr.cc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/dhcp/iface_mgr.cc b/src/lib/dhcp/iface_mgr.cc
index 61184fe..dfdeecb 100644
--- a/src/lib/dhcp/iface_mgr.cc
+++ b/src/lib/dhcp/iface_mgr.cc
@@ -751,11 +751,12 @@ IfaceMgr::receive4() {
         return (boost::shared_ptr<Pkt4>()); // NULL
     }
 
+    unsigned int ifindex = iface->getIndex();
+
 // OS_LINUX defines are part of ticket #1237
 #if defined(OS_LINUX)
     struct cmsghdr* cmsg;
     struct in_pktinfo* pktinfo;
-    unsigned int ifindex = 0;
 
     int found_pktinfo = 0;
     cmsg = CMSG_FIRSTHDR(&m);




More information about the bind10-changes mailing list