summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorNewEraCracker <neweracracker@gmail.com>2016-08-14 01:38:00 +0100
committerRenato Botelho <renato@netgate.com>2016-09-02 16:18:31 -0300
commitd37c6564cdd3f0080d2e32a4c9aa32b721c33969 (patch)
tree5c0b0083c791f749fd9e12bf844ddbf4bd3efc59 /src/etc/inc/interfaces.inc
parente0bc2a6c159213279fd7b34b00fddff4c63f5aa1 (diff)
downloadpfsense-d37c6564cdd3f0080d2e32a4c9aa32b721c33969.zip
pfsense-d37c6564cdd3f0080d2e32a4c9aa32b721c33969.tar.gz
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. (cherry picked from commit f2c9194cdde6458d6d22e83546eb18f1d14fa4ea)
Diffstat (limited to 'src/etc/inc/interfaces.inc')
-rw-r--r--src/etc/inc/interfaces.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/etc/inc/interfaces.inc b/src/etc/inc/interfaces.inc
index 90b5ecf..33e9e74 100644
--- a/src/etc/inc/interfaces.inc
+++ b/src/etc/inc/interfaces.inc
@@ -4006,7 +4006,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";
OpenPOWER on IntegriCloud