Commit 7a05a543 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

[1239] Fix in IfaceMgr::receive4() method.

parent 084c9790
......@@ -685,11 +685,12 @@ IfaceMgr::receive4() {
// we have all data let's create Pkt4 object
pkt = boost::shared_ptr<Pkt4>(new Pkt4(buf, result));
pkt->setIface(iface->getName());
pkt->setIndex(iface->getIndex());
pkt->setLocalAddr(to);
pkt->setRemoteAddr(from);
pkt->setRemotePort(from_port);
pkt->setLocalPort(candidate->port_);
// pkt->setRemoteAddr(from);
return (pkt);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment