summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorNewEraCracker <neweracracker@gmail.com>2016-08-14 01:38:00 +0100
committerNewEraCracker <neweracracker@gmail.com>2016-09-02 19:21:03 +0100
commitf2c9194cdde6458d6d22e83546eb18f1d14fa4ea (patch)
treebc78307e500faf49bf69d180be53f89fe5b75438 /src/etc/inc/interfaces.inc
parentc4ddb03acbbb4ff2a88162a9afc9e589a6f4d053 (diff)
downloadpfsense-f2c9194cdde6458d6d22e83546eb18f1d14fa4ea.zip
pfsense-f2c9194cdde6458d6d22e83546eb18f1d14fa4ea.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.
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 d50aaed..7feaf0e 100644
--- a/src/etc/inc/interfaces.inc
+++ b/src/etc/inc/interfaces.inc
@@ -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";
OpenPOWER on IntegriCloud