summaryrefslogtreecommitdiffstats
path: root/src/etc/inc
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2016-03-02 18:18:47 -0600
committerChris Buechler <cmb@pfsense.org>2016-03-02 18:20:43 -0600
commit471b81f8f7b0a5fe22019aed955e5374e3411dbf (patch)
tree85e19f1b55f4f2fbba6d30638eb23de620be83de /src/etc/inc
parent3b53c22761d63a6a9fa806fa4d22838c2afd618e (diff)
downloadpfsense-471b81f8f7b0a5fe22019aed955e5374e3411dbf.zip
pfsense-471b81f8f7b0a5fe22019aed955e5374e3411dbf.tar.gz
Always send a -HUP to dhcp6c in interfaces_track6_configure for DHCP6 WAN types. Doing so isn't any more disruptive than what it's already doing, and that ensures track6 interfaces don't lose their IPv6 IPs. Ticket #5945
Diffstat (limited to 'src/etc/inc')
-rw-r--r--src/etc/inc/interfaces.inc16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/etc/inc/interfaces.inc b/src/etc/inc/interfaces.inc
index 2929ca3..8908a9a 100644
--- a/src/etc/inc/interfaces.inc
+++ b/src/etc/inc/interfaces.inc
@@ -3529,18 +3529,10 @@ function interface_track6_configure($interface = "lan", $wancfg, $linkupevent =
interface_track6_6rd_configure($interface, $wancfg);
break;
case "dhcp6":
- if ($linkupevent == true) {
- /*
- * NOTE: Usually come here from rc.linkup calling so just call directly instead of generating event
- * Instead of disrupting all other v4 configuration just restart DHCPv6 client for now
- *
- * XXX: Probably DHCPv6 client should handle this automagically itself?
- */
- $parentrealif = get_real_interface($wancfg['track6-interface']);
- $pidv6 = find_dhcp6c_process($parentrealif);
- if ($pidv6) {
- posix_kill($pidv6, SIGHUP);
- }
+ $parentrealif = get_real_interface($wancfg['track6-interface']);
+ $pidv6 = find_dhcp6c_process($parentrealif);
+ if ($pidv6) {
+ posix_kill($pidv6, SIGHUP);
}
break;
}
OpenPOWER on IntegriCloud