mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-23 09:22:59 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user