summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Qos/Match.pm
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-08-17 17:04:12 -0700
commit9aaf0ed6c73bd596149d7d84f74e7b430ba62ea7 (patch)
tree20a44f7cbf8149778458e00e5708898335b49d1f /lib/Vyatta/Qos/Match.pm
parenta88854c2b8b4a3f480c283c78476f456534bb65d (diff)
downloadvyatta-cfg-qos-9aaf0ed6c73bd596149d7d84f74e7b430ba62ea7.tar.gz
vyatta-cfg-qos-9aaf0ed6c73bd596149d7d84f74e7b430ba62ea7.zip
Fix typo in Qos match for ethernet
Looking at wrong field in hash! Bug 5961 (cherry picked from commit 17b2ff0e596eff2d609d5abb661af3696914f7a6)
Diffstat (limited to 'lib/Vyatta/Qos/Match.pm')
-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 {