Forgot to include:

Fix #1637

On Mon, Jan 29, 2018 at 10:52:39AM +0100, Wolfgang Bumiller wrote:
> We don't use them and newer iproute2 doesn't like ':1' as
> abbreviation for '0:1' apparently.
> 
> Signed-off-by: Wolfgang Bumiller <w.bumil...@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

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to