Skip to content

Commit

Permalink
ofp-actions: Add more detail when formatting unroll_xlate pseudo-action.
Browse files Browse the repository at this point in the history
This is helpful for debugging recirculation.

Signed-off-by: Ben Pfaff <[email protected]>
Acked-by: Jarno Rajahalme <[email protected]>
  • Loading branch information
blp committed Jan 28, 2016
1 parent 38b0b29 commit 28632a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/ofp-actions.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 28632a8

Please sign in to comment.