mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 17:44:41 +00:00
ipsec: for previous
This commit is contained in:
parent
14e0e4952e
commit
9dae2099b5
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user