aboutsummaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhclient.c
diff options
context:
space:
mode:
authorYuichiro NAITO <naito.yuichiro@gmail.com>2024-07-04 07:57:02 +0000
committerMichael Osipov <michaelo@FreeBSD.org>2024-07-15 17:42:17 +0000
commitac6dc5cde729a602252a0b80f82424861d2eb7b5 (patch)
tree803e0d3131c428a12abddb12907e73b80d0a84ed /sbin/dhclient/dhclient.c
parent6af3d59962449c66688361598163dd174cc5fb2a (diff)
downloadsrc-ac6dc5cde729a602252a0b80f82424861d2eb7b5.tar.gz
src-ac6dc5cde729a602252a0b80f82424861d2eb7b5.zip
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
Diffstat (limited to 'sbin/dhclient/dhclient.c')
-rw-r--r--sbin/dhclient/dhclient.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c
index 8179a5c34209..62e55eb4d01f 100644
--- a/sbin/dhclient/dhclient.c
+++ b/sbin/dhclient/dhclient.c
@@ -2618,6 +2618,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: