projects
/
pve-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec9ada1
)
setup_tc_rate_limit : fix typo ingres -> ingress
author
Alexandre Derumier
<aderumier@odiso.com>
Tue, 5 Mar 2013 09:23:43 +0000
(10:23 +0100)
committer
Dietmar Maurer
<dietmar@proxmox.com>
Tue, 5 Mar 2013 10:48:16 +0000
(11:48 +0100)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
data/PVE/Network.pm
patch
|
blob
|
blame
|
history
diff --git
a/data/PVE/Network.pm
b/data/PVE/Network.pm
index 7d3707dc10828084e247f21a5626808548b42d50..4efd30b10835e8d64cc152fcb4065b54d574f9c2 100644
(file)
--- a/
data/PVE/Network.pm
+++ b/
data/PVE/Network.pm
@@
-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 ingres
s
>/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");