summaryrefslogtreecommitdiffstats
path: root/vpp/api/api.c
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2016-04-20 17:21:55 +0200
committerFilip Tehlar <ftehlar@cisco.com>2016-04-29 14:16:53 +0200
commitbeceab90520d38aa0b90427d0c829d67ca843161 (patch)
tree580cc1f909a1422b42a4c72c409f61ffd7a175f3 /vpp/api/api.c
parent02655bd425cc596960b7efc74d1fbad3b3406419 (diff)
Add support for LCAF Instance ID
Change-Id: Ifce3f2bdcba099157a42d0b694f3161b9f700ed2 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'vpp/api/api.c')
-rw-r--r--vpp/api/api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vpp/api/api.c b/vpp/api/api.c
index bc2f64cde9f..9c988a18172 100644
--- a/vpp/api/api.c
+++ b/vpp/api/api.c
@@ -4583,7 +4583,7 @@ vl_api_lisp_add_del_local_eid_t_handler(
prefp = &gid_address_ippref(&eid);
ip_eid = &ip_prefix_addr(prefp);
- gid_address_type (&eid) = IP_PREFIX;
+ gid_address_type (&eid) = GID_ADDR_IP_PREFIX;
if (mp->is_ipv6) {
clib_memcpy(&ip_addr_v6(ip_eid), mp->ip_address,
@@ -4802,7 +4802,7 @@ send_lisp_local_eid_table_details (mapping_t *mapit,
gid = &mapit->eid;
type = gid_address_type(gid);
- if (type != IP_PREFIX) {
+ if (type != GID_ADDR_IP_PREFIX) {
return;
}