dhclient: Ignore SIP servers DHCP option defined in RFC 3361

Ignore SIP servers dhcp option to shut up the warning message.
This option is defined in the RFC 3361 and sent from NSD-G1000T router.

PR:		280119
Reviewed by:	jrm (mentor), brooks
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D45873

(cherry picked from commit ac6dc5cde7)
This commit is contained in:
Yuichiro NAITO 2024-07-04 09:57:02 +02:00 committed by Michael Osipov
parent 301ced3b69
commit e5236f6405
2 changed files with 2 additions and 0 deletions

View File

@ -2609,6 +2609,7 @@ check_option(struct client_lease *l, int option)
case DHO_BOOTFILE_NAME:
case DHO_DHCP_USER_CLASS_ID:
case DHO_URL:
case DHO_SIP_SERVERS:
case DHO_END:
return (1);
case DHO_CLASSLESS_ROUTES:

View File

@ -172,6 +172,7 @@ struct dhcp_packet {
#define DHO_DHCP_USER_CLASS_ID 77
#define DHO_URL 114
#define DHO_DOMAIN_SEARCH 119
#define DHO_SIP_SERVERS 120
#define DHO_CLASSLESS_ROUTES 121
#define DHO_END 255