diff options
Diffstat (limited to 'etc/inc/shaper.inc')
-rw-r--r-- | etc/inc/shaper.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc index f76aafb..1635df1 100644 --- a/etc/inc/shaper.inc +++ b/etc/inc/shaper.inc @@ -4234,8 +4234,10 @@ function filter_generate_dummynet_rules() { read_dummynet_config(); if (!empty($dummynet_pipe_list)) { - if (!is_module_loaded("dummynet.ko")) + if (!is_module_loaded("dummynet.ko")) { mwexec("/sbin/kldload dummynet"); + mwexec("/sbin/sysctl net.inet.ip.dummynet.io_fast=1 net.inet.ip.dummynet.hash_size=256"); + } } $dn_rules = ""; |