diff options
author | Jakub Grajciar <jgrajcia@cisco.com> | 2019-10-28 10:22:01 +0100 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2019-10-30 09:06:33 +0000 |
commit | 3ae52627125a4c97bff91d43adad9bbaed42a6f5 (patch) | |
tree | 24b49a4f2326ac8bb2634453945ab12aa4b06617 /src/vpp | |
parent | 40680c6601b8d02b820540461f805a46a3e354a8 (diff) |
l2: l2tp API cleanup
Use consistent API types.
Type: fix
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Change-Id: I9015fc60e8d77e5d5ac36bf2862c1fe794addb81
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Diffstat (limited to 'src/vpp')
-rw-r--r-- | src/vpp/api/custom_dump.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 ", |