summaryrefslogtreecommitdiffstats
path: root/hicn-plugin/src
diff options
context:
space:
mode:
authorAlberto Compagno <acompagn+fdio@cisco.com>2019-11-18 13:54:58 +0000
committerGerrit Code Review <gerrit@fd.io>2019-11-18 13:54:58 +0000
commitda5d56e2d7d6c62a8eeca572103ba97e92b2eab9 (patch)
treeca609597e55a904c17b443ab2a6c74270f17e612 /hicn-plugin/src
parentf1590834352d863d238d38c5a58d5a31ab042e3f (diff)
parentf4a91fd99e8f8226f1c209f40c186b181c9ca183 (diff)
Merge "[HICN-391] Supporting midchain as adjacencies for an ip face"
Diffstat (limited to 'hicn-plugin/src')
-rw-r--r--hicn-plugin/src/faces/ip/face_ip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hicn-plugin/src/faces/ip/face_ip.c b/hicn-plugin/src/faces/ip/face_ip.c
index 23d3900ec..d4ba158de 100644
--- a/hicn-plugin/src/faces/ip/face_ip.c
+++ b/hicn-plugin/src/faces/ip/face_ip.c
@@ -225,7 +225,7 @@ hicn_face_ip_find_adj (const ip46_address_t * remote_addr,
if (*adj != ~0)
temp = adj_get(*adj);
- if (temp == NULL || temp->lookup_next_index <= IP_LOOKUP_NEXT_REWRITE)
+ if (temp == NULL || temp->lookup_next_index <= IP_LOOKUP_NEXT_MIDCHAIN)
{
if(sw_if != ~0)
*adj = adj_nbr_add_or_lock(fib_pfx.fp_proto, link_type, remote_addr, sw_if);