summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-02-13 05:12:01 +0100
committerGitHub <noreply@github.com>2024-02-13 05:12:01 +0100
commit87ddb8c5e89a81959e56829dedc6b9f1bb253388 (patch)
tree0d2374f9c921f0322ce38d90d055e5896e5617ca /python
parentfe9147623c9f59e125fb3e967aa0fba2cbf9fb0a (diff)
parent04bf9ee39f8243207ec777d6a5aeec78e3c9d66f (diff)
downloadvyos-1x-87ddb8c5e89a81959e56829dedc6b9f1bb253388.tar.gz
vyos-1x-87ddb8c5e89a81959e56829dedc6b9f1bb253388.zip
Merge pull request #2997 from sarthurdev/T5993
dhcpv6-server: T5993: Add subnet `interface` node, link subnet to locally connected interfaces
Diffstat (limited to 'python')
-rw-r--r--python/vyos/kea.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/vyos/kea.py b/python/vyos/kea.py
index 720bebec3..7365c1f02 100644
--- a/python/vyos/kea.py
+++ b/python/vyos/kea.py
@@ -212,6 +212,9 @@ def kea6_parse_subnet(subnet, config):
if 'option' in config:
out['option-data'] = kea6_parse_options(config['option'])
+ if 'interface' in config:
+ out['interface'] = config['interface']
+
if 'range' in config:
pools = []
for num, range_config in config['range'].items():