summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.homeunix.net>2009-07-11 18:02:14 -0400
committerScott Ullrich <sullrich@pfsense.homeunix.net>2009-07-11 18:02:14 -0400
commit56687adf123c9944400f109917cd81eece6e37c1 (patch)
tree355fab298922045e7d5846d4f4d1363bf42502fd /etc
parent8ba218f29d88ae45ad0fc779480659415e35d3b1 (diff)
downloadpfsense-56687adf123c9944400f109917cd81eece6e37c1.zip
pfsense-56687adf123c9944400f109917cd81eece6e37c1.tar.gz
Oops, pasted wrong sysctl
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 2b98398..fe9ba79 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -189,11 +189,11 @@ function filter_configure_sync() {
if ($config['system']['maximumstates'] <> "" && is_numeric($config['system']['maximumstates'])) {
/* User defined maximum states in Advanced menu. */
$rules .= "set limit states {$config['system']['maximumstates']}\n";
- mwexec("/usr/sbin/sysctl net.inet.ip.output_flowtable_size={$config['system']['maximumstates']}");
+ mwexec("/usr/sbin/sysctl net.inet.flowtable.nmbflows={$config['system']['maximumstates']}");
} else {
$max_states = pfsense_default_state_size();
$rules .= "set limit states {$max_states}\n";
- mwexec("/usr/sbin/sysctl net.inet.ip.output_flowtable_size={$max_states}");
+ mwexec("/usr/sbin/sysctl net.inet.flowtable.nmbflows={$max_states}");
}
$rules .= "\n";
OpenPOWER on IntegriCloud