summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/interfaces.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/usr/local/www/interfaces.php b/src/usr/local/www/interfaces.php
index 6eeb934..0ff4ce2 100644
--- a/src/usr/local/www/interfaces.php
+++ b/src/usr/local/www/interfaces.php
@@ -452,6 +452,15 @@ if ($_POST['apply']) {
if (isset($config['interfaces'][$ifapply]['enable'])) {
interface_bring_down($ifapply, false, $ifcfgo);
interface_configure($ifapply, true);
+ if ($config['interfaces'][$ifapply]['ipaddrv6'] == "track6") {
+ /* call interface_track6_configure with linkup true so
+ IPv6 IPs are added back. dhcp6c needs a HUP. Can't
+ just call interface_configure with linkup true as
+ that skips bridge membership addition.
+ */
+ $wancfg = $config['interfaces'][$ifapply];
+ interface_track6_configure($ifapply, $wancfg, true);
+ }
} else {
interface_bring_down($ifapply, true, $ifcfgo);
if (isset($config['dhcpd'][$ifapply]['enable']) ||
OpenPOWER on IntegriCloud