[pve-devel] [PATCH common] net: remove flowid in traffic limit commands

Wolfgang Bumiller w.bumiller at proxmox.com
Mon Jan 29 10:52:39 CET 2018


We don't use them and newer iproute2 doesn't like ':1' as
abbreviation for '0:1' apparently.

Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
---
 src/PVE/Network.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/Network.pm b/src/PVE/Network.pm
index 627e764..de8b289 100644
--- a/src/PVE/Network.pm
+++ b/src/PVE/Network.pm
@@ -102,7 +102,7 @@ sub setup_tc_rate_limit {
     run_command("/sbin/tc filter add dev $iface parent ffff: " .
 		"prio 50 basic " .
 		"police rate ${rate}bps burst ${burst}b mtu 64kb " .
-		"drop flowid :1");
+		"drop");
 
     if ($debug) {
 	print "DEBUG tc settings\n";
-- 
2.11.0





More information about the pve-devel mailing list