From: Benoît Ganne Date: Fri, 17 Jul 2020 09:38:58 +0000 (+0200) Subject: mpls: fix adjacencies walk in case of restack X-Git-Tag: v21.01-rc0~59 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=4069f41c6e2616adadc8f31ac41a66fae47c5735;p=vpp.git mpls: fix adjacencies walk in case of restack Adjacencies are only defined for IPv4 and IPv6. Type: fix Fixes: 20aec3db441074ee5a861a40d6e02fad2f3dcb37 Change-Id: I19b2b7f6958da49f41c6eabc9f248840769acbbb Signed-off-by: Benoît Ganne --- diff --git a/src/vnet/mpls/mpls_tunnel.c b/src/vnet/mpls/mpls_tunnel.c index 55d814858c3..95a8b5af294 100644 --- a/src/vnet/mpls/mpls_tunnel.c +++ b/src/vnet/mpls/mpls_tunnel.c @@ -334,7 +334,7 @@ mpls_tunnel_restack (mpls_tunnel_t *mt) } else { - FOR_EACH_FIB_PROTOCOL(proto) + FOR_EACH_FIB_IP_PROTOCOL(proto) { adj_nbr_walk(mt->mt_sw_if_index, proto,