summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-03-20 16:05:19 +0000
committerErmal <eri@pfsense.org>2013-03-20 16:05:19 +0000
commit919ff1f07070287ee1408ae4d8e530efa756106f (patch)
tree2b5befc2cbaad90b3fd00937df578771159fb591 /etc
parentccc5f959ada7ff3a2432d85566bb775d600704a9 (diff)
downloadpfsense-919ff1f07070287ee1408ae4d8e530efa756106f.zip
pfsense-919ff1f07070287ee1408ae4d8e530efa756106f.tar.gz
To actually use the linklocal of :1 delete the auto assigned linklocal
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index e01ae08..93a7e08 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -3089,6 +3089,9 @@ function interface_track6_configure($interface = "lan", $wancfg) {
/* always configure a link-local of fe80::1:1 on the track6 interfaces */
$realif = get_real_interface($interface);
+ $linklocal = find_interface_ipv6_ll($realif);
+ if (!empty($linklocal))
+ mwexec("/sbin/ifconfig {$realif} inet6 {$linklocal} delete");
mwexec("/sbin/ifconfig {$realif} inet6 fe80::1:1%{$realif}");
$trackcfg = $config['interfaces'][$wancfg['track6-interface']];
OpenPOWER on IntegriCloud