ofp-util: Improve log messages for bad Nicira extension actions.
authorBen Pfaff <blp@nicira.com>
Thu, 23 Dec 2010 18:41:17 +0000 (10:41 -0800)
committerBen Pfaff <blp@nicira.com>
Mon, 27 Dec 2010 17:45:06 +0000 (09:45 -0800)
commitabcf9134e459208dc4f73648c284ec5431ad7cb8
treea8b722d6ee220963e229d3f7ac792c3aea7470a3
parentf43505292156932c376f072faebfa941bc0064ac
ofp-util: Improve log messages for bad Nicira extension actions.

check_action_exact_len() will always report that a Nicira extension action
has type 65535 (OFPAT_VENDOR), which isn't very helpful for debugging.
This introduces a new function that reports the subtype.

Also, log the subtype of unknown Nicira vendor actions.
lib/ofp-util.c