diff options
author | Ole Troan <ot@cisco.com> | 2019-05-29 12:30:05 +0200 |
---|---|---|
committer | Paul Vinciguerra <pvinci@vinciconsulting.com> | 2019-05-30 11:15:35 +0000 |
commit | 288e093624515e31a8bc0f0f870e5a9c7fa2dbaa (patch) | |
tree | 1bf4a18ed6ece71f7382b003f32678aa3e64aa60 /src/vnet/ipip/ipip_api.c | |
parent | 048acfbd9ee6c0d476ffd87db9c1c744f3040e25 (diff) |
ipip: refactor ipip.api with explicit types
Use explicit types vl_api_address/prefix in ipip.api.
Change-Id: Ib3133cebdbe4437742924efd49cde4009c4cc31b
Type: refactor
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/vnet/ipip/ipip_api.c')
-rw-r--r-- | src/vnet/ipip/ipip_api.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vnet/ipip/ipip_api.c b/src/vnet/ipip/ipip_api.c index f97aaf78bd4..35b846e5c8b 100644 --- a/src/vnet/ipip/ipip_api.c +++ b/src/vnet/ipip/ipip_api.c @@ -178,10 +178,10 @@ vl_api_ipip_6rd_add_tunnel_t_handler (vl_api_ipip_6rd_add_tunnel_t * mp) } else { - rv = sixrd_add_tunnel ((ip6_address_t *) & mp->ip6_prefix, - mp->ip6_prefix_len, - (ip4_address_t *) & mp->ip4_prefix, - mp->ip4_prefix_len, + rv = sixrd_add_tunnel ((ip6_address_t *) & mp->ip6_prefix.prefix, + mp->ip6_prefix.len, + (ip4_address_t *) & mp->ip4_prefix.prefix, + mp->ip4_prefix.len, (ip4_address_t *) & mp->ip4_src, mp->security_check, ip4_fib_index, ip6_fib_index, |