nispor / mozim

DHCP Client Daemon
Apache License 2.0
11 stars 9 forks source link

Add the use of `secs` field in DHCPv4 header #30

Open cathay4t opened 5 months ago

cathay4t commented 5 months ago

RFC 2131:

     ... To help
     ensure that any BOOTP relay agents forward the DHCPREQUEST message
     to the same set of DHCP servers that received the original
     DHCPDISCOVER message, the DHCPREQUEST message MUST use the same
     value in the DHCP message header's 'secs' field and be sent to the
     same IP broadcast address as the original DHCPDISCOVER message.
     The client times out and retransmits the DHCPDISCOVER message if
     the client receives no DHCPOFFER messages.