From bffd2687fa5594dac53a0c7047adc6ff1b16bd75 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 11 Jul 2021 20:06:16 +0200 Subject: ipsec: T2816: fix NameError Commit a5cd877a0a ("ipsec: T2816: Migrate ipsec-settings.xml.in and charon.conf to vpn_ipsec.py") unfortunately removed the dictionary definition for "data" which is required when running the l2tp handler script. --- src/conf_mode/ipsec-settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/conf_mode/ipsec-settings.py b/src/conf_mode/ipsec-settings.py index a373f821f..1951bdf6e 100755 --- a/src/conf_mode/ipsec-settings.py +++ b/src/conf_mode/ipsec-settings.py @@ -46,6 +46,7 @@ def get_config(config=None): else: config = Config() + data = {} if config.exists("vpn ipsec ipsec-interfaces interface"): data["ipsec_interfaces"] = config.return_values("vpn ipsec ipsec-interfaces interface") -- cgit v1.2.3