summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-03-28 08:01:47 -0700
committerDamjan Marion <dmarion@me.com>2019-03-28 17:01:06 +0000
commit0e967e0998c8c395f1d91ee437137fcb478087da (patch)
treef06aba2856c50a74e6ba9c1376e739ef6e4c78c1
parent51793f54fd91ada610db6a9e78436075f2e33bdd (diff)
VXLAN-GBP: format flags in encap trace
Change-Id: I561fd187b4865345f3bff86b3d6e67b0f0e97557 Signed-off-by: Neale Ranns <nranns@cisco.com>
-rw-r--r--src/vnet/vxlan-gbp/encap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vnet/vxlan-gbp/encap.c b/src/vnet/vxlan-gbp/encap.c
index b687cbf1cfe..85d6f7787c4 100644
--- a/src/vnet/vxlan-gbp/encap.c
+++ b/src/vnet/vxlan-gbp/encap.c
@@ -63,8 +63,9 @@ format_vxlan_gbp_encap_trace (u8 * s, va_list * args)
s =
format (s,
- "VXLAN_GBP encap to vxlan_gbp_tunnel%d vni %d sclass %d flags %d",
- t->tunnel_index, t->vni, t->sclass, t->flags);
+ "VXLAN_GBP encap to vxlan_gbp_tunnel%d vni %d sclass %d flags %U",
+ t->tunnel_index, t->vni, t->sclass,
+ format_vxlan_gbp_header_gpflags, t->flags);
return s;
}
#endif /* CLIB_MARCH_VARIANT */