diff options
author | Chris Buechler <cmb@pfsense.org> | 2014-11-15 01:27:29 -0600 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2014-11-15 01:27:29 -0600 |
commit | 0c50e94bacbe5fb020fa6b09b4520184d82dd9fc (patch) | |
tree | ca43f0cfa7dedab410a65063e3160d6ebb271811 /etc/inc/gwlb.inc | |
parent | 63d129cc60570c58c2180ee58463115b7099461c (diff) | |
download | pfsense-0c50e94bacbe5fb020fa6b09b4520184d82dd9fc.zip pfsense-0c50e94bacbe5fb020fa6b09b4520184d82dd9fc.tar.gz |
fix missing strpos parameter
Diffstat (limited to 'etc/inc/gwlb.inc')
-rw-r--r-- | etc/inc/gwlb.inc | 2 |
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 { |