summaryrefslogtreecommitdiffstats
path: root/etc/inc/filter.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/filter.inc')
-rw-r--r--etc/inc/filter.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 8c76128..7bd342c 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -3641,7 +3641,7 @@ function filter_generate_ipsec_rules($log = array()) {
}
}
- if (strstr($ph1ent['interface'], "_vip"))
+ if (strpos($ph1ent['interface'], "_vip"))
list($parentinterface, $vhid) = explode("_vhid", $ph1ent['interface']);
else
$parentinterface = $ph1ent['interface'];
OpenPOWER on IntegriCloud