Commit ca6c71ff authored by Marcin Siodelski's avatar Marcin Siodelski

[3367] Removed excessive call to setCiaddr in DHCPv4 server.

parent cc48ac84
......@@ -504,7 +504,6 @@ void
Dhcpv4Srv::copyDefaultFields(const Pkt4Ptr& question, Pkt4Ptr& answer) {
answer->setIface(question->getIface());
answer->setIndex(question->getIndex());
answer->setCiaddr(question->getCiaddr());
answer->setSiaddr(IOAddress("0.0.0.0")); // explicitly set this to 0
// ciaddr is always 0, except for the Renew/Rebind state when it may
......
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