summaryrefslogtreecommitdiff
path: root/python/vyos/kea.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/vyos/kea.py')
-rw-r--r--python/vyos/kea.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/vyos/kea.py b/python/vyos/kea.py
index 3d8cf3637..aa4fb7ae5 100644
--- a/python/vyos/kea.py
+++ b/python/vyos/kea.py
@@ -103,7 +103,7 @@ def kea_parse_options(config):
return options
def kea_parse_subnet(subnet, config):
- out = {'subnet': subnet}
+ out = {'subnet': subnet, 'id': int(config['subnet_id'])}
options = []
if 'option' in config:
@@ -217,7 +217,7 @@ def kea6_parse_options(config):
return options
def kea6_parse_subnet(subnet, config):
- out = {'subnet': subnet}
+ out = {'subnet': subnet, 'id': int(config['subnet_id'])}
options = kea6_parse_options(config)
if 'address_range' in config: