summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-08-05 10:43:39 +0200
committerDaniil Baturin <daniil@baturin.org>2018-08-05 10:43:39 +0200
commit47f4faf7987f122861bfeb451871ac268b6ecbb4 (patch)
tree3b6d6d06c11845b6ea172db4469fdda67faca9b9
parent5a09a105b5832e0a804ab403fc287e19ad782bb5 (diff)
downloadvyos-1x-47f4faf7987f122861bfeb451871ac268b6ecbb4.tar.gz
vyos-1x-47f4faf7987f122861bfeb451871ac268b6ecbb4.zip
T71: rename IPsec "settings" to "options" for consistency with the rest of the system.
-rw-r--r--interface-definitions/ipsec-settings.xml2
-rwxr-xr-xsrc/conf_mode/ipsec-settings.py2
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