[klibc] ciaddr in dhcp_proto.c

Shou-Lien Chen driftheart at gmail.com
Wed Mar 11 02:57:44 PDT 2009

Hello all:

According to rfc 2131, page 9:
"ciaddr        Client IP address; only filled in if client is in
                  BOUND, RENEW or REBINDING state and can respond
                  to ARP requests.

Is it ideal to change "boot.ciaddr = dev-> ip_addr" to "boot.ciaddr =
INADDR_ANY" in dhcp_send() function?

I've used a TP-LINK TL-R402M router and it will give a DHCPNAK if
ciaddr is not empty.

More information about the klibc mailing list