diff options
author | Ermal <eri@pfsense.org> | 2010-12-03 18:46:44 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-12-03 18:46:44 +0000 |
commit | 9ce96456a35cd5767e1d35887cb1bfa06391afe0 (patch) | |
tree | 7ff3ac02dbf52d1ecb169483c3d86dee44afa226 /etc/inc | |
parent | 6c4ccf39350636e024ec1c4023cc07f13d18835e (diff) | |
download | pfsense-9ce96456a35cd5767e1d35887cb1bfa06391afe0.zip pfsense-9ce96456a35cd5767e1d35887cb1bfa06391afe0.tar.gz |
Ooops actually return after disabling flowtables.
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/filter.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index f0acb69..cbe2910 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -63,8 +63,10 @@ $aliases = ""; function flowtable_configure() { global $config, $g; - if(empty($config['system']['flowtable'])) + if (empty($config['system']['flowtable'])) { mwexec("/sbin/sysctl net.inet.flowtable.enable=0"); + return; + } // Figure out how many flows we should reserve // sized 2x larger than the number of unique connection destinations. |