summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-12-05 10:04:37 +0100
committerGitHub <noreply@github.com>2022-12-05 10:04:37 +0100
commit9b40b4c047f35b3ec09c92a95ad8381afdb2b30d (patch)
tree99beb38b31fbdb06b65ec8ccd0997b05695d541b
parent31566f8195b7deed559578526e0c0c42c615e79f (diff)
parent8572e3d6e0d782a1474e97149a7f0c81edfc41da (diff)
downloadvyos-1x-9b40b4c047f35b3ec09c92a95ad8381afdb2b30d.tar.gz
vyos-1x-9b40b4c047f35b3ec09c92a95ad8381afdb2b30d.zip
Merge pull request #1692 from sever-sever/T4848
T4848: Fix for default route vpn openconnect
-rwxr-xr-xsrc/conf_mode/vpn_openconnect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/vpn_openconnect.py b/src/conf_mode/vpn_openconnect.py
index c050b796b..7c86356e9 100755
--- a/src/conf_mode/vpn_openconnect.py
+++ b/src/conf_mode/vpn_openconnect.py
@@ -157,7 +157,7 @@ def verify(ocserv):
ocserv["network_settings"]["push_route"].remove("0.0.0.0/0")
ocserv["network_settings"]["push_route"].append("default")
else:
- ocserv["network_settings"]["push_route"] = "default"
+ ocserv["network_settings"]["push_route"] = ["default"]
else:
raise ConfigError('openconnect network settings required')