summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/ipsec-settings.py2
1 files changed, 1 insertions, 1 deletions
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