Force changes in routing to be detected by the system

When dhcp6c without RA is enabled, dhcp6c isn't killed and respawned, this causes the system not being able to pick up the routing changes. In this case, running the configuration script which fires rc.newwanipv6 solves the problem.
This commit is contained in:
NewEraCracker 2016-08-14 01:38:00 +01:00
parent c4ddb03acb
commit f2c9194cdd

View File

@ -3974,7 +3974,8 @@ function interface_dhcpv6_configure($interface = "wan", $wancfg) {
$rtsoldscript .= "\t/bin/sleep 1\n";
$rtsoldscript .= "fi\n";
} else {
$rtsoldscript .= "\t/bin/sleep 1\n";
$rtsoldscript .= "{$g['varetc_path']}/dhcp6c_{$interface}_script.sh\n";
$rtsoldscript .= "/bin/sleep 1\n";
}
$debugOption = isset($wancfg['dhcp6debug']) ? "-D" : "-d";