diff options
author | Chris Novakovic <[email protected]> | 2018-04-24 03:56:34 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-04-24 13:40:41 -0400 |
commit | 4e1a8af28d56a4194cf3f17c69d9d21183246f3a (patch) | |
tree | 350e6a77f4766b144e6154b7b30789d34769a7ed /lib/string_helpers.c | |
parent | e18bdc83aec4b7e187d9c54dc442a6ab3efac26d (diff) |
ipconfig: BOOTP: Don't request IEN-116 name servers
When ipconfig is autoconfigured via BOOTP, the request packet
initialised by ic_bootp_init_ext() allocates 8 bytes for tag 5 ("Name
Server" [1, §3.7]), but tag 5 in the response isn't processed by
ic_do_bootp_ext(). Instead, allocate the 8 bytes to tag 6 ("Domain Name
Server" [1, §3.8]), which is processed by ic_do_bootp_ext(), and appears
to have been the intended tag to request.
This won't cause any breakage for existing users, as tag 5 responses
provided by BOOTP servers weren't being processed anyway.
[1] RFC 2132, "DHCP Options and BOOTP Vendor Extensions":
https://tools.ietf.org/rfc/rfc2132.txt
Signed-off-by: Chris Novakovic <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions