summaryrefslogtreecommitdiffstats
path: root/etc/inc/gwlb.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-08-14 23:16:02 +0000
committerErmal <eri@pfsense.org>2013-08-14 23:16:26 +0000
commitf7496377d31cb75b66a92c977b82584af5591b46 (patch)
treeef4379d5e58506195d5db37c19e3ff3e1b4228eb /etc/inc/gwlb.inc
parented7edf071c62f3250357d53c1d59ce701127a5dc (diff)
downloadpfsense-f7496377d31cb75b66a92c977b82584af5591b46.zip
pfsense-f7496377d31cb75b66a92c977b82584af5591b46.tar.gz
Cleanup some code that is not needed anymore
Diffstat (limited to 'etc/inc/gwlb.inc')
-rw-r--r--etc/inc/gwlb.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc
index 33ffaf6..e310fd7 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -165,9 +165,7 @@ EOD;
} else if (is_ipaddrv6($gateway['gateway'])) {
/* link locals really need a different src ip */
if(is_linklocal($gateway['gateway'])) {
- $linklocal = explode("%", find_interface_ipv6_ll($gateway['interface'], true));
- $gwifip = $linklocal[0];
- $ifscope = "%". $linklocal[1];
+ $gwifip = find_interface_ipv6_ll($gateway['interface'], true);
} else {
$gwifip = find_interface_ipv6($gateway['interface'], true);
}
OpenPOWER on IntegriCloud