mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-23 07:31:31 +00:00
dhclient: Ignore vendor-identifying DHCP options defined in RFC 3925
Ignore DHCP options 124 and 125 to shut up the warning messages. These options are defined in the RFC 3925. PR: 281361 Reviewed by: jrm (mentor), otis (mentor), thj Tested by: jlduran@gmail.com MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D46760
This commit is contained in:
parent
26439b5787
commit
38c63b5283
@ -2641,6 +2641,8 @@ check_option(struct client_lease *l, int option)
|
||||
case DHO_DHCP_USER_CLASS_ID:
|
||||
case DHO_URL:
|
||||
case DHO_SIP_SERVERS:
|
||||
case DHO_V_I_VENDOR_CLASS:
|
||||
case DHO_V_I_VENDOR_OPTS:
|
||||
case DHO_END:
|
||||
return (1);
|
||||
case DHO_CLASSLESS_ROUTES:
|
||||
|
@ -174,6 +174,8 @@ struct dhcp_packet {
|
||||
#define DHO_DOMAIN_SEARCH 119
|
||||
#define DHO_SIP_SERVERS 120
|
||||
#define DHO_CLASSLESS_ROUTES 121
|
||||
#define DHO_V_I_VENDOR_CLASS 124
|
||||
#define DHO_V_I_VENDOR_OPTS 125
|
||||
#define DHO_END 255
|
||||
|
||||
/* DHCP message types. */
|
||||
|
Loading…
Reference in New Issue
Block a user