From 83b435ffe1a6cda47d260fea81c6c6cca1aedd48 Mon Sep 17 00:00:00 2001 From: sarthurdev <965089+sarthurdev@users.noreply.github.com> Date: Sun, 25 Feb 2024 23:26:33 +0100 Subject: dhcp-server: T6063: Add `ignore-client-id` to relax client identifier checks for leases --- python/vyos/kea.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'python/vyos') diff --git a/python/vyos/kea.py b/python/vyos/kea.py index 894ac9e9a..2328d0b00 100644 --- a/python/vyos/kea.py +++ b/python/vyos/kea.py @@ -113,6 +113,9 @@ def kea_parse_subnet(subnet, config): if 'bootfile_server' in config['option']: out['next-server'] = config['option']['bootfile_server'] + if 'ignore_client_id' in config: + out['match-client-id'] = False + if 'lease' in config: out['valid-lifetime'] = int(config['lease']) out['max-valid-lifetime'] = int(config['lease']) -- cgit v1.2.3