ofp-print: Use the prevailing protocol to call ofputil_decode_flow_mod()
authorSimon Horman <horms@verge.net.au>
Wed, 1 Aug 2012 07:01:51 +0000 (16:01 +0900)
committerBen Pfaff <blp@nicira.com>
Tue, 7 Aug 2012 05:50:57 +0000 (22:50 -0700)
commit981c5fdde344eff52a546002c488230fd17edba0
tree11fc703ff1d5df54e207c847b934b1425c88ec83
parent1a126c0c6803db4e6c16ddc0a3369a6ad197d238
ofp-print: Use the prevailing protocol to call ofputil_decode_flow_mod()

Pass a protocol based on the prevailing protocol to ofputil_decode_flow_mod()

Note that ofputil_protocol_from_ofp_version() needs to be made
Open Flow 1.1 aware.

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