From c1cda1e4495a6db1decb35e0e73ede71342d3ab0 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 7 Oct 2010 10:20:47 -0700 Subject: Don't allow incoming Qos on VIF Bug 6294 Do allow user to configure incoming traffic-policy on Vlan's because the kernel ignores them. --- gen-interface-templates.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl index 8fb221c..d5705e8 100755 --- a/gen-interface-templates.pl +++ b/gen-interface-templates.pl @@ -71,6 +71,9 @@ sub gen_template { my $in = "$inpath/$name"; my $out = "$outpath/$name"; + # Skip incoming Qos policy on vif + next if ($name eq 'in') && ($outpath =~ '/vif/node.tag/'); + # recurse into subdirectory if ( -d $in ) { my $subif = $ifname; -- cgit v1.2.3