summaryrefslogtreecommitdiffstats
path: root/plugins/sixrd-plugin/sixrd
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2016-11-11 16:14:30 +0000
committerNeale Ranns <nranns@cisco.com>2016-11-11 16:14:30 +0000
commitb95302ea09bb1e80a208a456935bb0396be181e9 (patch)
tree9b176614fbff85c858cfe9d44488e61fed04f22c /plugins/sixrd-plugin/sixrd
parent8b3191e6d715760deefe550b59c7d92be4b5cda9 (diff)
Fix clang compile errors in plugins
Change-Id: I2c2df9b5ba567bde2564c924bd9ad2fbbac775c4 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'plugins/sixrd-plugin/sixrd')
-rw-r--r--plugins/sixrd-plugin/sixrd/sixrd.c6
1 files changed, 3 insertions, 3 deletions
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);