summaryrefslogtreecommitdiff
path: root/lib/Vyatta
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-15 12:06:43 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-15 12:06:43 -0700
commit381dcdcc46b8652135d59342e33535d1aa750e05 (patch)
treef9f1e987b8cbc8151a0a06b8d33e6afa63a1f5e5 /lib/Vyatta
parentc3fbefc50d0a039b88dae8dd6966cf0ce83f556b (diff)
downloadvyatta-cfg-qos-381dcdcc46b8652135d59342e33535d1aa750e05.tar.gz
vyatta-cfg-qos-381dcdcc46b8652135d59342e33535d1aa750e05.zip
Allow match on Ethernet protocol name
Allow using common values supported by TC filter.
Diffstat (limited to 'lib/Vyatta')
-rw-r--r--lib/Vyatta/Qos/Match.pm3
1 files changed, 1 insertions, 2 deletions
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 {