diff --git a/interface-definitions/dhcp-server.xml.in b/interface-definitions/dhcp-server.xml.in index 34df0c56d56..adff187c7f5 100644 --- a/interface-definitions/dhcp-server.xml.in +++ b/interface-definitions/dhcp-server.xml.in @@ -145,6 +145,7 @@ + #include Specifies the clients subnet mask as per RFC 950. If unset, subnet declaration is used. diff --git a/interface-definitions/dhcpv6-server.xml.in b/interface-definitions/dhcpv6-server.xml.in index 16d0f9b014a..b37f7943484 100644 --- a/interface-definitions/dhcpv6-server.xml.in +++ b/interface-definitions/dhcpv6-server.xml.in @@ -135,6 +135,7 @@ + #include #include diff --git a/interface-definitions/include/dhcp/captive-portal.xml.i b/interface-definitions/include/dhcp/captive-portal.xml.i new file mode 100644 index 00000000000..643f055a898 --- /dev/null +++ b/interface-definitions/include/dhcp/captive-portal.xml.i @@ -0,0 +1,11 @@ + + + + Captive portal API endpoint + + txt + Captive portal API endpoint + + + + diff --git a/python/vyos/kea.py b/python/vyos/kea.py index 49e376f38eb..ddf6b724793 100644 --- a/python/vyos/kea.py +++ b/python/vyos/kea.py @@ -40,7 +40,8 @@ 'bootfile_size': 'boot-size', 'time_offset': 'time-offset', 'wpad_url': 'wpad-url', - 'ipv6_only_preferred': 'v6-only-preferred' + 'ipv6_only_preferred': 'v6-only-preferred', + 'captive_portal': 'v4-captive-portal' } kea6_options = { @@ -51,7 +52,8 @@ 'nis_server': 'nis-servers', 'nisplus_domain': 'nisp-domain-name', 'nisplus_server': 'nisp-servers', - 'sntp_server': 'sntp-servers' + 'sntp_server': 'sntp-servers', + 'captive_portal': 'v6-captive-portal' } def kea_parse_options(config):