ofp-print: Print OpenFlow version number of message, unless it's 1.0.
authorBen Pfaff <blp@nicira.com>
Wed, 15 Feb 2012 23:28:25 +0000 (15:28 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 7 Mar 2012 22:05:08 +0000 (14:05 -0800)
commit3811e66bb6e6ea4d56271f6061495b89fdd547bd
tree258cb0f3c995974cc193fb3f57e04d0295e211d6
parent87ea5e5e26c97598cd66ef64c8386afac2b77fff
ofp-print: Print OpenFlow version number of message, unless it's 1.0.

The version number is an important part of the OpenFlow message's
meaning, so include it.  Version 1.0 is grandfathered in so existing output
parsers don't have to change.

Reviewed-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/ofp-print.c
tests/ofp-print.at