From 4069f41c6e2616adadc8f31ac41a66fae47c5735 Mon Sep 17 00:00:00 2001 From: Benoît Ganne Date: Fri, 17 Jul 2020 11:38:58 +0200 Subject: mpls: fix adjacencies walk in case of restack MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adjacencies are only defined for IPv4 and IPv6. Type: fix Fixes: 20aec3db441074ee5a861a40d6e02fad2f3dcb37 Change-Id: I19b2b7f6958da49f41c6eabc9f248840769acbbb Signed-off-by: Benoît Ganne --- src/vnet/mpls/mpls_tunnel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit 1.2.3-korg