summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
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