diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-15 12:06:43 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-15 12:06:43 -0700 |
commit | 381dcdcc46b8652135d59342e33535d1aa750e05 (patch) | |
tree | f9f1e987b8cbc8151a0a06b8d33e6afa63a1f5e5 /lib | |
parent | c3fbefc50d0a039b88dae8dd6966cf0ce83f556b (diff) | |
download | vyatta-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')
-rw-r--r-- | lib/Vyatta/Qos/Match.pm | 3 |
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 { |