ofp-util: OpenFlow 1.0 can match IPv6 Ethertype even though not L3 or L4.
authorBen Pfaff <blp@nicira.com>
Fri, 28 Jun 2013 17:06:58 +0000 (10:06 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 28 Jun 2013 17:06:58 +0000 (10:06 -0700)
commit340c7bb2b9565b07de7c105d7fae298be908d138
tree1f67e05e909ddb5d3a4f23f3fec0eac36c40a416
parent9cae45dc699f64e85ad68db5f3b2f50758ad6e34
ofp-util: OpenFlow 1.0 can match IPv6 Ethertype even though not L3 or L4.

OpenFlow 1.0 can match on flows that have the IPv6 Ethertype, but
ofputil_usable_protocols() incorrectly reported that such a match required
NXM or OXM.  This commit fixes the problem.

Also, add some related tests.

Reported-by: Nagi Reddy Jonnala <njonnala@Brocade.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
AUTHORS
lib/ofp-util.c
tests/ovs-ofctl.at