From 9dae2099b50888ea2dd4aeba6cb000c7e4063cce Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Mon, 26 Nov 2018 00:01:49 +0100 Subject: [PATCH] ipsec: for previous --- src/www/vpn_ipsec_phase1.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/www/vpn_ipsec_phase1.php b/src/www/vpn_ipsec_phase1.php index 77a60f695..f6892b50e 100644 --- a/src/www/vpn_ipsec_phase1.php +++ b/src/www/vpn_ipsec_phase1.php @@ -410,7 +410,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { } /* if the remote gateway changed and the interface is not WAN then remove route */ - if ($pconfig['interface'] != "wan") { + if ($pconfig['interface'] != 'wan') { if ($old_ph1ent['remote-gateway'] != $pconfig['remote-gateway']) { /* XXX does this even apply? only use of system.inc at the top! */ system_host_route($old_ph1ent['remote-gateway'], $old_ph1ent['remote-gateway'], true, false);