ipsec: Drop VPN_IP setting

This is now a per-connection setting

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2019-01-21 17:08:57 +00:00
parent 26c2cc580b
commit 517683eeb1
3 changed files with 7 additions and 34 deletions

View File

@@ -46,7 +46,11 @@ main() {
# Compat for older connections
if [ "${local}" = "off" ]; then
local=""
if [ "${VPN_IP}" = "%defaultroute" ]; then
local=""
else
local="${VPN_IP}"
fi
fi
# Handle %defaultroute