summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-31 12:33:57 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-31 12:33:57 -0700
commit17b2ff0e596eff2d609d5abb661af3696914f7a6 (patch)
tree6f2c8be6ffd1dddf3705a31be76ce1e1cd9e527d
parent12a987a3afe79dc9dfb66ebaaddd5e14bc4e1105 (diff)
downloadvyatta-cfg-qos-17b2ff0e596eff2d609d5abb661af3696914f7a6.tar.gz
vyatta-cfg-qos-17b2ff0e596eff2d609d5abb661af3696914f7a6.zip
Fix typo in Qos match for ethernet
Looking at wrong field in hash! Bug 5961
-rw-r--r--lib/Vyatta/Qos/Match.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/Qos/Match.pm b/lib/Vyatta/Qos/Match.pm
index a6b16e9..97e4aec 100644
--- a/lib/Vyatta/Qos/Match.pm
+++ b/lib/Vyatta/Qos/Match.pm
@@ -134,7 +134,7 @@ sub filter {
$type = 'all' unless $type;
print " protocol $type u32";
- if ( defined( $$p{src} ) || defined( $$p{dest} ) ) {
+ if ( defined( $$p{src} ) || defined( $$p{dst} ) ) {
print " match ether src $$p{src}" if $$p{src};
print " match ether dst $$p{dst}" if $$p{dst};
} else {