Fix use of format_ip46_address in custom_format
format_ip46_address() does not take a 2nd argument indicating the
address family. Harmless since the extra argument is simply not
consumed.
(noticed while adding gre to this module)
Change-Id: I692883872eedb4a8e3c0be7680d03b4b257ba6f9
Signed-off-by: Chris Luke <chrisy@flirble.org>
diff --git a/vpp/api/custom_dump.c b/vpp/api/custom_dump.c
index 6ffc8c9..f4e5e75 100644
--- a/vpp/api/custom_dump.c
+++ b/vpp/api/custom_dump.c
@@ -1266,11 +1266,11 @@
s = format (0, "SCRIPT: vxlan_add_del_tunnel ");
- s = format (s, "dst %U ", format_ip46_address,
- (ip46_address_t *)&(mp->dst_address), mp->is_ipv6);
+ s = format (s, "dst %U ", format_ip46_address,
+ (ip46_address_t *)&(mp->dst_address));
- s = format (s, "src %U ", format_ip46_address,
- (ip46_address_t *)&(mp->src_address), mp->is_ipv6);
+ s = format (s, "src %U ", format_ip46_address,
+ (ip46_address_t *)&(mp->src_address));
if (mp->encap_vrf_id)
s = format (s, "encap-vrf-id %d ", ntohl(mp->encap_vrf_id));