sd-dhcp-client: fix RFC number
This commit is contained in:
@@ -848,7 +848,7 @@ static int client_message_init(
|
||||
secs = ((time_now - client->start_time) / USEC_PER_SEC) ? : 1;
|
||||
packet->dhcp.secs = htobe16(secs);
|
||||
|
||||
/* RFC2132 section 4.1
|
||||
/* RFC2131 section 4.1
|
||||
A client that cannot receive unicast IP datagrams until its protocol
|
||||
software has been configured with an IP address SHOULD set the
|
||||
BROADCAST bit in the 'flags' field to 1 in any DHCPDISCOVER or
|
||||
@@ -862,7 +862,7 @@ static int client_message_init(
|
||||
if (client->request_broadcast || client->arp_type != ARPHRD_ETHER)
|
||||
packet->dhcp.flags = htobe16(0x8000);
|
||||
|
||||
/* RFC2132 section 4.1.1:
|
||||
/* RFC2131 section 4.1.1:
|
||||
The client MUST include its hardware address in the ’chaddr’ field, if
|
||||
necessary for delivery of DHCP reply messages. Non-Ethernet
|
||||
interfaces will leave 'chaddr' empty and use the client identifier
|
||||
|
||||
Reference in New Issue
Block a user