ofp-util: Announce OpenFlow 1.3 table features only in OpenFlow 1.3.
authorBen Pfaff <blp@nicira.com>
Fri, 13 Sep 2013 15:42:55 +0000 (08:42 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 13 Sep 2013 15:42:55 +0000 (08:42 -0700)
commit6240624b3b536a8b7fd6f7036a7028fd1c34a030
tree9b581b395004753bdb06b1b042cb701fa6deb25b
parent1b63b91eb085b381d0a765855a11a27d9d43c27d
ofp-util: Announce OpenFlow 1.3 table features only in OpenFlow 1.3.

The translation into OpenFlow 1.2 didn't trim off the OpenFlow 1.3 specific
bits.  This fixes the problem.

It would probably be wise to introduce an ofputil_table_stats structure.
Using ofp12_table_stats is somewhat confusing.

Reported-by: Torbjorn Tornkvist <kruskakli@gmail.com>
Tested-by: Torbjorn Tornkvist <kruskakli@gmail.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
include/openflow/openflow-1.2.h
lib/ofp-util.c
ofproto/ofproto.c
tests/ofproto.at