From: Ben Pfaff Date: Sat, 23 Jan 2016 00:40:28 +0000 (-0800) Subject: ofp-actions: Add more detail when formatting unroll_xlate pseudo-action. X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fovs.git;a=commitdiff_plain;h=28632a8a11429640d745f77ed157e012777e4995 ofp-actions: Add more detail when formatting unroll_xlate pseudo-action. This is helpful for debugging recirculation. Signed-off-by: Ben Pfaff Acked-by: Jarno Rajahalme --- diff --git a/lib/ofp-actions.c b/lib/ofp-actions.c index ff3bc12a7..9b7552635 100644 --- a/lib/ofp-actions.c +++ b/lib/ofp-actions.c @@ -4493,10 +4493,10 @@ parse_UNROLL_XLATE(char *arg OVS_UNUSED, struct ofpbuf *ofpacts OVS_UNUSED, } static void -format_UNROLL_XLATE(const struct ofpact_unroll_xlate *a OVS_UNUSED, - struct ds *s) +format_UNROLL_XLATE(const struct ofpact_unroll_xlate *a, struct ds *s) { - ds_put_cstr(s, "unroll_xlate"); + ds_put_format(s, "unroll_xlate(table=%"PRIu8", cookie=%"PRIu64")", + a->rule_table_id, ntohll(a->rule_cookie)); } /* Action structure for NXAST_SAMPLE.