aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Luke <chrisy@flirble.org>2016-04-29 09:04:55 -0400
committerChris Luke <chrisy@flirble.org>2016-04-29 09:07:00 -0400
commit9444c0673c1b0e05e879862329a16c7893d51afc (patch)
tree5c31c61b6b239223033738f93e758af9fad59a5d
parent6caec3d8b42fa22938ea0aa9d8ec0db54c75ea1e (diff)
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>
-rw-r--r--vpp/api/custom_dump.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/vpp/api/custom_dump.c b/vpp/api/custom_dump.c
index 6ffc8c95592..f4e5e75a99e 100644
--- a/vpp/api/custom_dump.c
+++ b/vpp/api/custom_dump.c
@@ -1266,11 +1266,11 @@ static void * vl_api_vxlan_add_del_tunnel_t_print
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));