diff options
author | Jakub Grajciar <jgrajcia@cisco.com> | 2019-10-01 12:04:56 +0200 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2019-10-10 08:06:25 +0000 |
commit | 2d3282e17f4080a838163c4f4ed32e890d79696c (patch) | |
tree | 693f61258a9080434e3a304e04dff75b11a7cc7f /src/vpp | |
parent | 3ae9f5a90ac23ceaa1d5052cfdab417c1ef8dfdc (diff) |
geneve: API cleanup
Use consistent API types.
Type: fix
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Change-Id: I1964e4f0afe6f030ae9c8e28fcba5fd81aa1f130
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 3c6eada0a05..14da1242335 100644 --- a/src/vpp/api/custom_dump.c +++ b/src/vpp/api/custom_dump.c @@ -1708,8 +1708,10 @@ static void *vl_api_geneve_add_del_tunnel_t_print u8 *s; s = format (0, "SCRIPT: geneve_add_del_tunnel "); - ip46_address_t local = to_ip46 (mp->is_ipv6, mp->local_address); - ip46_address_t remote = to_ip46 (mp->is_ipv6, mp->remote_address); + ip46_address_t local; + ip46_address_t remote; + ip_address_decode (&mp->remote_address, &remote); + ip_address_decode (&mp->local_address, &local); u8 is_grp = ip46_address_is_multicast (&remote); char *remote_name = is_grp ? "group" : "dst"; |