Fix clang compile errors in plugins

Change-Id: I2c2df9b5ba567bde2564c924bd9ad2fbbac775c4
Signed-off-by: Neale Ranns <nranns@cisco.com>
This commit is contained in:
Neale Ranns
2016-11-11 16:14:30 +00:00
parent 8b3191e6d7
commit b95302ea09

View File

@ -69,7 +69,7 @@ sixrd_create_domain (ip6_address_t *ip6_prefix,
.ip6 = d->ip6_prefix, .ip6 = d->ip6_prefix,
}, },
}; };
sixrd_dpo_create(FIB_PROTOCOL_IP6, sixrd_dpo_create(DPO_PROTO_IP6,
*sixrd_domain_index, *sixrd_domain_index,
&dpo_v6); &dpo_v6);
fib_table_entry_special_dpo_add(0, &pfx6, fib_table_entry_special_dpo_add(0, &pfx6,
@ -84,7 +84,7 @@ sixrd_create_domain (ip6_address_t *ip6_prefix,
* Find the adj (if any) already contributed and modify it * Find the adj (if any) already contributed and modify it
*/ */
fib_prefix_t pfx4 = { fib_prefix_t pfx4 = {
.fp_proto = FIB_PROTOCOL_IP6, .fp_proto = FIB_PROTOCOL_IP4,
.fp_len = 32, .fp_len = 32,
.fp_addr = { .fp_addr = {
.ip4 = d->ip4_src, .ip4 = d->ip4_src,
@ -119,7 +119,7 @@ sixrd_create_domain (ip6_address_t *ip6_prefix,
} }
} }
/* first time addition of the route */ /* first time addition of the route */
sixrd_dpo_create(FIB_PROTOCOL_IP4, sixrd_dpo_create(DPO_PROTO_IP4,
*sixrd_domain_index, *sixrd_domain_index,
&dpo_v4); &dpo_v4);