summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-19 05:14:21 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-19 05:14:21 +0000
commita45b6642bf26ae045ccf037121b1e2eb141c8399 (patch)
treea6778e012e4cae52df3cb76ac9cab9fa8a4e76f3 /etc
parent7593f702fcbc0b2335c8bf115f7b62a4c99a2f26 (diff)
downloadpfsense-a45b6642bf26ae045ccf037121b1e2eb141c8399.zip
pfsense-a45b6642bf26ae045ccf037121b1e2eb141c8399.tar.gz
For some reason on certain machines with traffic shaper enabled, one interface cannot talk to another one, etc. This hack basically gets rid of that problem and ALTQ continues to function correctly.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index d5e5e66..78eba51 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -58,6 +58,14 @@ function filter_configure() {
if ($g['booting'])
echo "Configuring firewall... ";
+ if (isset($config['shaper']['enable'])) {
+ /* somehow the interfaces do not come up
+ correctly if we do not load, unload
+ and then reload... wierd. */
+ mwexec("/sbin/kldload ipfw");
+ mwexec("/sbin/kldunload ipfw");
+ }
+
/* generate aliases */
$aliases = filter_generate_aliases();
/* generate nat rules */
OpenPOWER on IntegriCloud