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);