dhcp-client
dhcp-client copied to clipboard
Some error
Hi,
I think there is an error in dhcp_input function. It should be if (dhcp->opcode != DHCP_OPTION_OFFER) -> if (dhcp->opcode != DHCP_BOOTREPLY) And there are some defines error. #define DHCP_OPTION_DECLINE 4 #define DHCP_OPTION_PACK 4->5
Anyway, thank you for your sharing, it helps me to understand DHCP behavior :)
Thanks, g548462