diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-19 05:14:21 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-19 05:14:21 +0000 |
commit | a45b6642bf26ae045ccf037121b1e2eb141c8399 (patch) | |
tree | a6778e012e4cae52df3cb76ac9cab9fa8a4e76f3 | |
parent | 7593f702fcbc0b2335c8bf115f7b62a4c99a2f26 (diff) | |
download | pfsense-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.
-rw-r--r-- | etc/inc/filter.inc | 8 |
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 */ |