summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/vpn.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index bb399cf..2e59743 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -714,7 +714,7 @@ EOD;
$left_spec = "%any";
} else {
$tmpsubnet = ipsec_get_phase1_src($ph1ent);
- if ($leftsubnet_spec[$tmpsubnet])
+ if (empty($leftsubnet_spec[$tmpsubnet]))
$leftsubnet_spec[$tmpsubnet] = $tmpsubnet;
}
OpenPOWER on IntegriCloud