summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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