diff options
author | Ermal <eri@pfsense.org> | 2013-08-14 23:16:02 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-08-14 23:16:02 +0000 |
commit | 2c3924a16af4698056e5f05d6c2f84698fef2150 (patch) | |
tree | 149f7d6db13356116e883e38578f6825b272d71e /etc/inc/gwlb.inc | |
parent | ce14e37ba9850a8d81f74dfa9c7f551fef539b94 (diff) | |
download | pfsense-2c3924a16af4698056e5f05d6c2f84698fef2150.zip pfsense-2c3924a16af4698056e5f05d6c2f84698fef2150.tar.gz |
Cleanup some code that is not needed anymore
Diffstat (limited to 'etc/inc/gwlb.inc')
-rw-r--r-- | etc/inc/gwlb.inc | 4 |
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); } |