From 3ae52627125a4c97bff91d43adad9bbaed42a6f5 Mon Sep 17 00:00:00 2001 From: Jakub Grajciar Date: Mon, 28 Oct 2019 10:22:01 +0100 Subject: l2: l2tp API cleanup Use consistent API types. Type: fix Signed-off-by: Jakub Grajciar Change-Id: I9015fc60e8d77e5d5ac36bf2862c1fe794addb81 Signed-off-by: Jakub Grajciar --- src/vpp/api/custom_dump.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/vpp') diff --git a/src/vpp/api/custom_dump.c b/src/vpp/api/custom_dump.c index 7b37862fd40..e96f4ee320c 100644 --- a/src/vpp/api/custom_dump.c +++ b/src/vpp/api/custom_dump.c @@ -1509,8 +1509,9 @@ static void *vl_api_l2tpv3_create_tunnel_t_print s = format (0, "SCRIPT: l2tpv3_create_tunnel "); s = format (s, "client_address %U our_address %U ", - format_ip6_address, (ip6_address_t *) (mp->client_address), - format_ip6_address, (ip6_address_t *) (mp->our_address)); + format_ip6_address, + (ip6_address_t *) (mp->client_address.un.ip6), + format_ip6_address, (ip6_address_t *) (mp->our_address.un.ip6)); s = format (s, "local_session_id %d ", (mp->local_session_id)); s = format (s, "remote_session_id %d ", (mp->remote_session_id)); s = format (s, "local_cookie %lld ", -- cgit 1.2.3-korg