summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-12-03 18:46:44 +0000
committerErmal <eri@pfsense.org>2010-12-03 18:46:44 +0000
commit9ce96456a35cd5767e1d35887cb1bfa06391afe0 (patch)
tree7ff3ac02dbf52d1ecb169483c3d86dee44afa226
parent6c4ccf39350636e024ec1c4023cc07f13d18835e (diff)
downloadpfsense-9ce96456a35cd5767e1d35887cb1bfa06391afe0.zip
pfsense-9ce96456a35cd5767e1d35887cb1bfa06391afe0.tar.gz
Ooops actually return after disabling flowtables.
-rw-r--r--etc/inc/filter.inc4
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.
OpenPOWER on IntegriCloud