diff options
Diffstat (limited to 'src/vpp/api/custom_dump.c')
-rw-r--r-- | src/vpp/api/custom_dump.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/vpp/api/custom_dump.c b/src/vpp/api/custom_dump.c index 1152fbb8e0d..4ec19e50408 100644 --- a/src/vpp/api/custom_dump.c +++ b/src/vpp/api/custom_dump.c @@ -3215,18 +3215,19 @@ static void *vl_api_session_rule_add_del_t_print u8 *s; char *proto = mp->transport_proto == 0 ? "tcp" : "udp"; s = format (0, "SCRIPT: session_rule_add_del "); + mp->tag[sizeof (mp->tag) - 1] = 0; if (mp->is_ip4) - s = format (s, "appns %d scope %d %s %U/%d %d %U/%d %d action %u", + s = format (s, "appns %d scope %d %s %U/%d %d %U/%d %d action %u tag %s", mp->appns_index, mp->scope, proto, format_ip4_address, (ip4_address_t *) mp->lcl_ip, mp->lcl_plen, format_ip4_address, (ip4_address_t *) mp->rmt_ip, - mp->rmt_plen, mp->action_index); + mp->rmt_plen, mp->action_index, mp->tag); else - s = format (s, "appns %d scope %d %s %U/%d %d %U/%d %d action %u", + s = format (s, "appns %d scope %d %s %U/%d %d %U/%d %d action %u tag %s", mp->appns_index, mp->scope, proto, format_ip6_address, (ip6_address_t *) mp->lcl_ip, mp->lcl_plen, format_ip6_address, (ip6_address_t *) mp->rmt_ip, - mp->rmt_plen, mp->action_index); + mp->rmt_plen, mp->action_index, mp->tag); FINISH; } |