interfaces: address stripping works, avoid destroy... #2661

... as it can cause reconfigure loops, at least with a faulty config.
This commit is contained in:
Franco Fichtner 2018-09-03 23:39:07 +02:00
parent 91ecc980bd
commit c61ece51fe

View File

@ -1068,11 +1068,6 @@ function interface_bring_down($interface = "wan", $ifacecfg = false)
case 'dhcp6':
killbypid("/var/run/dhcp6c_{$realifv6}.pid", 'TERM', true);
break;
case '6rd':
case '6to4':
/* oddity with 6rd/6to4 as we destroy on reconfigure anyway */
legacy_interface_destroy($realifv6);
break;
default:
break;
}