aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/ip
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/ip')
-rw-r--r--src/vnet/ip/ip6_ll_table.c1
-rw-r--r--src/vnet/ip/ip_types_api.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/ip/ip6_ll_table.c b/src/vnet/ip/ip6_ll_table.c
index 243b94a6c0e..75489ea08e3 100644
--- a/src/vnet/ip/ip6_ll_table.c
+++ b/src/vnet/ip/ip6_ll_table.c
@@ -99,6 +99,7 @@ ip6_ll_prefix_to_fib (const ip6_ll_prefix_t * ilp, fib_prefix_t * fp)
fp->fp_proto = FIB_PROTOCOL_IP6;
fp->fp_len = 128;
fp->fp_addr.ip6 = ilp->ilp_addr;
+ fp->___fp___pad = 0;
}
fib_node_index_t
diff --git a/src/vnet/ip/ip_types_api.c b/src/vnet/ip/ip_types_api.c
index e9be1c613b6..0f7f0e530f9 100644
--- a/src/vnet/ip/ip_types_api.c
+++ b/src/vnet/ip/ip_types_api.c
@@ -238,6 +238,7 @@ ip_mprefix_decode (const vl_api_mprefix_t * in, mfib_prefix_t * out)
out->fp_proto = (ADDRESS_IP6 == clib_net_to_host_u32 (in->af) ?
FIB_PROTOCOL_IP6 : FIB_PROTOCOL_IP4);
out->fp_len = clib_net_to_host_u16 (in->grp_address_length);
+ out->___fp___pad = 0;
ip_address_union_decode (&in->grp_address, in->af, &out->fp_grp_addr);
ip_address_union_decode (&in->src_address, in->af, &out->fp_src_addr);