BIND 10 master, updated. 7f8da8e4b1bbafac7156e8cd2f39330467c2233d Fix for unused variable in iface_mgr.cc

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Dec 23 15:22:41 UTC 2011


The branch, master has been updated
       via  7f8da8e4b1bbafac7156e8cd2f39330467c2233d (commit)
      from  dc49f886943c9f66a1f5bce734c7e434af88686d (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 7f8da8e4b1bbafac7156e8cd2f39330467c2233d
Author: Tomek Mrugalski <tomasz at isc.org>
Date:   Fri Dec 23 16:22:20 2011 +0100

    Fix for unused variable in iface_mgr.cc

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

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

-----------------------------------------------------------------------
diff --git a/src/lib/dhcp/iface_mgr.cc b/src/lib/dhcp/iface_mgr.cc
index c086e46..61184fe 100644
--- a/src/lib/dhcp/iface_mgr.cc
+++ b/src/lib/dhcp/iface_mgr.cc
@@ -801,7 +801,7 @@ IfaceMgr::receive4() {
     pkt = boost::shared_ptr<Pkt4>(new Pkt4(buf, result));
 
     pkt->setIface(iface->getName());
-    pkt->setIndex(iface->getIndex());
+    pkt->setIndex(ifindex);
     pkt->setLocalAddr(to);
     pkt->setRemoteAddr(from);
     pkt->setRemotePort(from_port);




More information about the bind10-changes mailing list