interfaces: annotate issue with static fe80::1:1

This commit is contained in:
Franco Fichtner 2018-10-27 18:00:54 +02:00
parent bba9ef948f
commit 558ba5aa7f

View File

@ -2578,7 +2578,16 @@ function interface_track6_configure($interface = 'lan', $lancfg, $linkupevent =
$realif = get_real_interface($interface, 'inet6');
/* always configure a fixed link-local on the track6 interfaces */
/*
* Always configure a fixed link-local on the track6 interfaces.
*
* The history of this change is under dispute. It was originally
* added to be able to access the web GUI under easily remembered
* IPv6 address, but it has issues with CARP and other "two boxes
* in one network". Now we added the override for fe80::1:1, and
* in the end it should work either way and all of this could be
* removed. Still considering complete removal for 19.1.
*/
$linklocal = find_interface_ipv6_ll($realif);
if (!empty($linklocal)) {
mwexecf('/sbin/ifconfig %s inet6 %s delete', array($realif, $linklocal));