[pve-devel] [PATCH 3/6] setup_tc_rate_limit : delete class and filter before update

Dietmar Maurer dietmar at proxmox.com
Tue Mar 5 11:52:23 CET 2013


>      system("/sbin/tc qdisc del dev $iface root >/dev/null 2>&1");
> 
> +    return if (!$rate || ($rate && $rate == 0));

This expression makes no sense to me? Maybe we just need

return if !$rate;




More information about the pve-devel mailing list