From b95302ea09bb1e80a208a456935bb0396be181e9 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Fri, 11 Nov 2016 16:14:30 +0000 Subject: Fix clang compile errors in plugins Change-Id: I2c2df9b5ba567bde2564c924bd9ad2fbbac775c4 Signed-off-by: Neale Ranns --- plugins/sixrd-plugin/sixrd/sixrd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/sixrd-plugin') diff --git a/plugins/sixrd-plugin/sixrd/sixrd.c b/plugins/sixrd-plugin/sixrd/sixrd.c index cdc0c880356..66e631a2b6a 100644 --- a/plugins/sixrd-plugin/sixrd/sixrd.c +++ b/plugins/sixrd-plugin/sixrd/sixrd.c @@ -69,7 +69,7 @@ sixrd_create_domain (ip6_address_t *ip6_prefix, .ip6 = d->ip6_prefix, }, }; - sixrd_dpo_create(FIB_PROTOCOL_IP6, + sixrd_dpo_create(DPO_PROTO_IP6, *sixrd_domain_index, &dpo_v6); 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 */ fib_prefix_t pfx4 = { - .fp_proto = FIB_PROTOCOL_IP6, + .fp_proto = FIB_PROTOCOL_IP4, .fp_len = 32, .fp_addr = { .ip4 = d->ip4_src, @@ -119,7 +119,7 @@ sixrd_create_domain (ip6_address_t *ip6_prefix, } } /* first time addition of the route */ - sixrd_dpo_create(FIB_PROTOCOL_IP4, + sixrd_dpo_create(DPO_PROTO_IP4, *sixrd_domain_index, &dpo_v4); -- cgit 1.2.3-korg