dhcp-client icon indicating copy to clipboard operation
dhcp-client copied to clipboard

Some error

Open g548462 opened this issue 6 years ago • 0 comments

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

g548462 avatar Jun 11 '18 09:06 g548462