Browse Source

Fix for unused variable in iface_mgr.cc

Tomek Mrugalski 13 years ago
parent
commit
7f8da8e4b1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/dhcp/iface_mgr.cc

+ 1 - 1
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);