ofp-util: Improve return type of ofputil_decode_packet_in().
authorBen Pfaff <blp@nicira.com>
Thu, 7 Jun 2012 03:13:49 +0000 (23:13 -0400)
committerBen Pfaff <blp@nicira.com>
Wed, 13 Jun 2012 04:19:35 +0000 (21:19 -0700)
commitf7cc6bd82f5ff86369c5719fdd81420af5ddf0c3
tree42326d3fd7b93f8c50d0007c418562b03b8662b9
parentc9349648a944248530494b8602934814f86e9491
ofp-util: Improve return type of ofputil_decode_packet_in().

"enum ofperr" is clearer than "int".

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