Browse Source

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

Marcin Siodelski 10 years ago
parent
commit
ca6c71ff92
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/bin/dhcp4/dhcp4_srv.cc

+ 0 - 1
src/bin/dhcp4/dhcp4_srv.cc

@@ -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