From 9aaf0ed6c73bd596149d7d84f74e7b430ba62ea7 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Sat, 31 Jul 2010 12:33:57 -0700 Subject: Fix typo in Qos match for ethernet Looking at wrong field in hash! Bug 5961 (cherry picked from commit 17b2ff0e596eff2d609d5abb661af3696914f7a6) --- lib/Vyatta/Qos/Match.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Vyatta') 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 { -- cgit v1.2.3