summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-05-09 07:51:33 +0200
committerGitHub <noreply@github.com>2026-05-09 07:51:33 +0200
commitb8691e935c245e04cb8b3efe9a1e43f7cf34ca08 (patch)
tree4695ccf70b0e43f5399604a8ea5fe8382f8b9735 /python
parent815f1da9d5e02b8b77ed35c46b7a20f8fc86701a (diff)
parentb05816e7ed2a23d1266f5d211ee41642d1e8d64f (diff)
downloadvyos-1x-b8691e935c245e04cb8b3efe9a1e43f7cf34ca08.tar.gz
vyos-1x-b8691e935c245e04cb8b3efe9a1e43f7cf34ca08.zip
Merge pull request #5170 from indrajitr/dhcp-vendor-space-fix
kea: T8763: Fix vendor-encapsulated-options space
Diffstat (limited to 'python')
-rw-r--r--python/vyos/kea.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/python/vyos/kea.py b/python/vyos/kea.py
index e38347012..5fe070c54 100644
--- a/python/vyos/kea.py
+++ b/python/vyos/kea.py
@@ -153,8 +153,13 @@ def kea_parse_options(config):
config, 'vendor_option', 'ubiquiti', 'unifi_controller'
)
if unifi_controller:
+ options.append({'name': 'vendor-encapsulated-options'})
options.append(
- {'name': 'unifi-controller', 'data': unifi_controller, 'space': 'ubnt'}
+ {
+ 'name': 'ubnt',
+ 'data': unifi_controller,
+ 'space': 'vendor-encapsulated-options-space',
+ }
)
return options