diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-07-24 23:04:25 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-07-25 00:15:08 +0200 |
commit | 861945045ca04b21e27ad31513b2ff929349ee2e (patch) | |
tree | 0feedd3bd0307552bbaf701aba99a83571bcecd1 /src | |
parent | 7273a6a0a05a000680ee549b76dd40762b73c2d0 (diff) | |
download | vyos-1x-861945045ca04b21e27ad31513b2ff929349ee2e.tar.gz vyos-1x-861945045ca04b21e27ad31513b2ff929349ee2e.zip |
ipsec: T1210: move DHCP server configuration unter remote-access node
As this is only related to remote-access, keeping it under "options" simply
feels wrong.
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/vpn_ipsec.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/vpn_ipsec.py b/src/conf_mode/vpn_ipsec.py index f1c6b216b..123380827 100755 --- a/src/conf_mode/vpn_ipsec.py +++ b/src/conf_mode/vpn_ipsec.py @@ -269,7 +269,7 @@ def verify(ipsec): for pool in ra_conf['pool']: if pool == 'dhcp': - if dict_search('options.remote_access.dhcp.server', ipsec) == None: + if dict_search('remote_access.dhcp.server', ipsec) == None: raise ConfigError('IPSec DHCP server is not configured!') elif 'pool' not in ipsec['remote_access'] or pool not in ipsec['remote_access']['pool']: |