ofp-print: Do not display flow mod cookie if it is UINT64_MAX
authorSimon Horman <horms@verge.net.au>
Fri, 12 Oct 2012 00:26:29 +0000 (09:26 +0900)
committerBen Pfaff <blp@nicira.com>
Fri, 12 Oct 2012 17:18:54 +0000 (10:18 -0700)
commit66e7d7a2cd928a5f1c64c7289b042d2fe2ebc21e
tree32c734da54dfe4a57dbc6ce3f1b33e0915d7018d
parenta5ff88230bb2584c81bbfef36d142203f8a2277d
ofp-print: Do not display flow mod cookie if it is UINT64_MAX

Internally UINT64_MAX is used to denote that the cookie
should not be changed, so it seems appropriate
to omit this value when pretty printing flow mods.

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