summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-10-07 10:20:47 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-10-07 10:20:47 -0700
commitc1cda1e4495a6db1decb35e0e73ede71342d3ab0 (patch)
tree4a3e9798c8839f242426d90b9686116007712be8
parent4206fa7e7b0b51dde3cc91024e37b5d0d6004c1f (diff)
downloadvyatta-cfg-qos-c1cda1e4495a6db1decb35e0e73ede71342d3ab0.tar.gz
vyatta-cfg-qos-c1cda1e4495a6db1decb35e0e73ede71342d3ab0.zip
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.
-rwxr-xr-xgen-interface-templates.pl3
1 files changed, 3 insertions, 0 deletions
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;