From 381dcdcc46b8652135d59342e33535d1aa750e05 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 15 Jul 2010 12:06:43 -0700 Subject: Allow match on Ethernet protocol name Allow using common values supported by TC filter. --- lib/Vyatta/Qos/Match.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/Vyatta/Qos/Match.pm b/lib/Vyatta/Qos/Match.pm index 79cd0d3..591c2b0 100644 --- a/lib/Vyatta/Qos/Match.pm +++ b/lib/Vyatta/Qos/Match.pm @@ -34,8 +34,7 @@ sub new { my %fields; if ( $proto eq 'ether' ) { - $fields{protocol} = - getProtocol( $config->returnValue("ether protocol") ); + $fields{protocol} = $config->returnValue("ether protocol"); $fields{src} = $config->returnValue("ether source"); $fields{dst} = $config->returnValue("ether destination"); } else { -- cgit v1.2.3