From 47f4faf7987f122861bfeb451871ac268b6ecbb4 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Sun, 5 Aug 2018 10:43:39 +0200 Subject: T71: rename IPsec "settings" to "options" for consistency with the rest of the system. --- interface-definitions/ipsec-settings.xml | 2 +- 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 @@ - + Global IPsec settings 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 -- cgit v1.2.3