dhcpd: apparently, sometimes IP is in ciaddr, not requested_ip...
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 21 Mar 2010 05:46:09 +0000 (06:46 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 21 Mar 2010 05:46:09 +0000 (06:46 +0100)
commit53f72bb3f0bd81b1d3af8939a16ec730c7e750c3
tree0d3f302f7692b5cbd473a76eeb28a506c5d9cf5f
parentc7dc79e71ddbc1498736a2bbf65a3da179557f83
dhcpd: apparently, sometimes IP is in ciaddr, not requested_ip...

also revert the part which appempted to "fix" that in client

function                                             old     new   delta
udhcpd_main                                         1949    1964     +15
send_renew                                           142     105     -37
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 15/-37)            Total: -22 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/udhcp/clientpacket.c
networking/udhcp/dhcpd.c