mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 04:36:52 -10:00
dhclient: request the Captive Portal options
Add DHCP options 114 (captive-portal) and 160 (captive-portal-legacy) to the default Parameter Request List so that servers advertise the Captive Portal API URI. Approved by: emaste Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D60257
This commit is contained in:
1 parent
a1789e345d
commit
afee6fb209
1 file changed
+5
@@ -125,6 +125,11 @@ read_client_conf(void)
|
||||
[top_level_config.requested_option_count++] = DHO_DOMAIN_SEARCH;
|
||||
top_level_config.requested_options
|
||||
[top_level_config.requested_option_count++] = DHO_INTERFACE_MTU;
|
||||
top_level_config.requested_options
|
||||
[top_level_config.requested_option_count++] = DHO_CAPTIVE_PORTAL;
|
||||
top_level_config.requested_options
|
||||
[top_level_config.requested_option_count++] =
|
||||
DHO_CAPTIVE_PORTAL_LEGACY;
|
||||
#ifdef INET6
|
||||
/*
|
||||
* RFC 8925 sec 3.2: The DHCPv4 client on an IPv4-requiring host MUST
|
||||
|
||||
Reference in new issue
Block a user