Skip to content

Commit

Permalink
To actually use the linklocal of :1 delete the auto assigned linklocal
Browse files Browse the repository at this point in the history
  • Loading branch information
Ermal committed Mar 20, 2013
1 parent ccc5f95 commit 919ff1f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions etc/inc/interfaces.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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']];
Expand Down

0 comments on commit 919ff1f

Please sign in to comment.