summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-01-29 08:24:44 +0000
committerErmal <eri@pfsense.org>2013-01-29 19:38:43 +0000
commitdb6e6b1a58a3daef3c351e2b924094cdc66f1b6f (patch)
treedf5d43765bd8691940a1ee03969961de50998de8 /etc
parent366aaa50526dd636b9e7aa098e62b35a892f297c (diff)
downloadpfsense-db6e6b1a58a3daef3c351e2b924094cdc66f1b6f.zip
pfsense-db6e6b1a58a3daef3c351e2b924094cdc66f1b6f.tar.gz
I am not sure why this is needed but for sure its not needed during bootup
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index eb7132c..3a47f04 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -3355,7 +3355,8 @@ function interface_dhcpv6_configure($interface = "wan") {
/* run a filter configure sync so that the filter rules allow traffic before we launch the client */
/* there reallyt is no good way around this i'm 'fraid */
- filter_configure_sync();
+ if (!$g['booting'])
+ filter_configure_sync();
/* fire up dhcp6c for IPv6 first, this backgrounds immediately */
mwexec("/usr/local/sbin/dhcp6c -d -c {$g['varetc_path']}/dhcp6c_{$interface}.conf -p {$g['varrun_path']}/dhcp6c_{$interface}.pid {$wanif}");
@@ -3384,6 +3385,7 @@ function interface_dhcpv6_configure($interface = "wan") {
if ($config['interfaces'][$if]['track6-interface'] == $interface)
interface_track6_configure($if);
}
+ unset($iflist);
}
return 0;
OpenPOWER on IntegriCloud