diff options
author | 2020-03-02 13:55:31 +0100 | |
---|---|---|
committer | 2020-03-16 09:18:46 +0000 | |
commit | 7c0eb56f40b3ccf8acd8f04e208aa50231aebeba (patch) | |
tree | 3df2939bf739d46eb6cb42767e5c402c3e0eac86 /src/vpp | |
parent | cd5a4a035c0c7a7ca9f915bee83abde085c05ad7 (diff) |
vxlan: vxlan/vxlan.api API cleanup
Use consistent API types.
Type: fix
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Change-Id: I7f6f37ec6eed780322e2488d6eb0f5681945ba09
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Diffstat (limited to 'src/vpp')
-rw-r--r-- | src/vpp/api/custom_dump.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vpp/api/custom_dump.c b/src/vpp/api/custom_dump.c index 1cc2aa64c28..f9524a9de58 100644 --- a/src/vpp/api/custom_dump.c +++ b/src/vpp/api/custom_dump.c @@ -1484,8 +1484,10 @@ static void *vl_api_vxlan_add_del_tunnel_t_print u8 *s; s = format (0, "SCRIPT: vxlan_add_del_tunnel "); - ip46_address_t src = to_ip46 (mp->is_ipv6, mp->src_address); - ip46_address_t dst = to_ip46 (mp->is_ipv6, mp->dst_address); + ip46_address_t src = + to_ip46 (mp->src_address.af, (u8 *) & mp->src_address.un); + ip46_address_t dst = + to_ip46 (mp->dst_address.af, (u8 *) & mp->dst_address.un); u8 is_grp = ip46_address_is_multicast (&dst); char *dst_name = is_grp ? "group" : "dst"; |