summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2014-11-15 01:27:29 -0600
committerChris Buechler <cmb@pfsense.org>2014-11-15 01:27:29 -0600
commit0c50e94bacbe5fb020fa6b09b4520184d82dd9fc (patch)
treeca43f0cfa7dedab410a65063e3160d6ebb271811
parent63d129cc60570c58c2180ee58463115b7099461c (diff)
downloadpfsense-0c50e94bacbe5fb020fa6b09b4520184d82dd9fc.zip
pfsense-0c50e94bacbe5fb020fa6b09b4520184d82dd9fc.tar.gz
fix missing strpos parameter
-rw-r--r--etc/inc/gwlb.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc
index e1d1e63..a328968 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -194,7 +194,7 @@ EOD;
if ($gateway['monitor'] == $gateway['gateway']) {
/* link locals really need a different src ip */
if (is_linklocal($gateway['gateway'])) {
- if (!strpos($gateway['gateway']))
+ if (!strpos($gateway['gateway'], '%'))
$gateway['gateway'] .= '%' . $gateway['interface'];
$gwifip = find_interface_ipv6_ll($gateway['interface'], true);
} else {
OpenPOWER on IntegriCloud