diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-10-07 10:20:47 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-10-07 10:20:47 -0700 |
commit | c1cda1e4495a6db1decb35e0e73ede71342d3ab0 (patch) | |
tree | 4a3e9798c8839f242426d90b9686116007712be8 | |
parent | 4206fa7e7b0b51dde3cc91024e37b5d0d6004c1f (diff) | |
download | vyatta-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-x | gen-interface-templates.pl | 3 |
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; |