summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2023-07-26 23:16:33 +0200
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2023-12-08 00:29:40 +0100
commit4484a7398482caffdd5e0a74f73f46b162785bf3 (patch)
treeafdd6470a2e75004dfcdf2c2f9da54a5362ce9fc /python
parentd95200e96763e4a7ed02577b1b177c84abb77838 (diff)
downloadvyos-1x-4484a7398482caffdd5e0a74f73f46b162785bf3.tar.gz
vyos-1x-4484a7398482caffdd5e0a74f73f46b162785bf3.zip
dhcp: T3316: Add captive portal v4/v6 options
Diffstat (limited to 'python')
-rw-r--r--python/vyos/kea.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/python/vyos/kea.py b/python/vyos/kea.py
index 0ee6871e7..fa2948233 100644
--- a/python/vyos/kea.py
+++ b/python/vyos/kea.py
@@ -40,7 +40,8 @@ kea4_options = {
'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 @@ kea6_options = {
'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):