X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvpp%2Fapi%2Fcustom_dump.c;h=4ec19e50408a89145c8a63eec4be902b48757101;hb=c97a7398fc465c480a3ac66cf4b0f91a034ed564;hp=1152fbb8e0dc0d16729d98a2a24a0282ff6f2d00;hpb=a3d933c87f146df801aa3947c25b6f1b2538f847;p=vpp.git 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; }