From 256b67bc8873f268d2cecd16183398352b9fcd16 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Wed, 2 Sep 2020 14:46:53 +0000 Subject: teib: Add adj-fibs for peers/adjacencies on p2mp interface Type: fix Change-Id: I6fdc4e952097e92ac3aa53e0be3ef99e0d801b28 Signed-off-by: Neale Ranns --- src/vnet/gre/gre.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/vnet/gre') diff --git a/src/vnet/gre/gre.c b/src/vnet/gre/gre.c index 83f12833611..f4c41bd09b4 100644 --- a/src/vnet/gre/gre.c +++ b/src/vnet/gre/gre.c @@ -472,7 +472,8 @@ mgre_update_adj (vnet_main_t * vnm, u32 sw_if_index, adj_index_t ai) ti = gm->tunnel_index_by_sw_if_index[sw_if_index]; t = pool_elt_at_index (gm->tunnels, ti); - ne = teib_entry_find (sw_if_index, &adj->sub_type.nbr.next_hop); + ne = teib_entry_find (sw_if_index, + adj->ia_nh_proto, &adj->sub_type.nbr.next_hop); if (NULL == ne) // no NHRP entry to provide the next-hop -- cgit 1.2.3-korg