ofp-print: Consistently print priority only if it is not default.
authorBen Pfaff <blp@nicira.com>
Thu, 10 Mar 2011 22:59:06 +0000 (14:59 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 16 Mar 2011 21:53:15 +0000 (14:53 -0700)
commitfbc7ed06a7fd67f30b13489b0d3ba07adb037cf5
treeebc3a71881234f4e8c6adcbc61a20f85623f7680
parenta3e2d85f8f3a8b3220c0a834cc0fd9519e6b5b85
ofp-print: Consistently print priority only if it is not default.

In NXST_FLOW replies, the priority was printed only if it was not
OFP_DEFAULT_PRIORITY, but it was always printed in OFPST_FLOW replies.
This commit changes OFPST_FLOW replies to match NXST_FLOW replies.
lib/ofp-print.c
tests/ofp-print.at