diff options
-rw-r--r-- | interface-definitions/ipsec-settings.xml | 2 | ||||
-rwxr-xr-x | src/conf_mode/ipsec-settings.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/ipsec-settings.xml b/interface-definitions/ipsec-settings.xml index 8fb23940a..bc54baa27 100644 --- a/interface-definitions/ipsec-settings.xml +++ b/interface-definitions/ipsec-settings.xml @@ -4,7 +4,7 @@ <children> <node name="ipsec"> <children> - <node name="settings" owner="${vyos_conf_scripts_dir}/ipsec-settings.py"> + <node name="options" owner="${vyos_conf_scripts_dir}/ipsec-settings.py"> <properties> <help>Global IPsec settings</help> </properties> diff --git a/src/conf_mode/ipsec-settings.py b/src/conf_mode/ipsec-settings.py index 481e083d6..921f20491 100755 --- a/src/conf_mode/ipsec-settings.py +++ b/src/conf_mode/ipsec-settings.py @@ -31,7 +31,7 @@ def get_config(): config = vyos.config.Config() data = {"install_routes": "yes"} - if config.exists("vpn ipsec settings disable-route-autoinstall"): + if config.exists("vpn ipsec options disable-route-autoinstall"): data["install_routes"] = "no" return data |