summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/ipsec.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/ipsec.inc b/etc/inc/ipsec.inc
index 8d05203..aa8524c 100644
--- a/etc/inc/ipsec.inc
+++ b/etc/inc/ipsec.inc
@@ -663,7 +663,7 @@ function ipsec_find_id(& $ph1ent, $side = "local", $rgmap = array()) {
if (!$addr) {
return array();
}
- } elseif ($side = "peer") {
+ } elseif ($side == "peer") {
$id_type = $ph1ent['peerid_type'];
$id_data = $ph1ent['peerid_data'];
OpenPOWER on IntegriCloud