mirror of
git://git.proxmox.com/git/pve-common.git
synced 2025-01-11 13:17:36 +03:00
setup_tc_rate_limit : fix typo ingres -> ingress
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
ec9ada188b
commit
edde1d4650
@ -11,7 +11,7 @@ use File::Basename;
|
||||
sub setup_tc_rate_limit {
|
||||
my ($iface, $rate, $burst, $debug) = @_;
|
||||
|
||||
system("/sbin/tc qdisc del dev $iface ingres >/dev/null 2>&1");
|
||||
system("/sbin/tc qdisc del dev $iface ingress >/dev/null 2>&1");
|
||||
system("/sbin/tc qdisc del dev $iface root >/dev/null 2>&1");
|
||||
|
||||
run_command("/sbin/tc qdisc add dev $iface handle ffff: ingress");
|
||||
|
Loading…
Reference in New Issue
Block a user