aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/mpls
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2020-07-17 11:38:58 +0200
committerNeale Ranns <nranns@cisco.com>2020-09-01 11:42:37 +0000
commit4069f41c6e2616adadc8f31ac41a66fae47c5735 (patch)
treeb55f7380a5353e2f30e5a1539d237b314f8775fc /src/vnet/mpls
parent7be474635dad869975b3a5dbcaaf17d14f2fb104 (diff)
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 <bganne@cisco.com>
Diffstat (limited to 'src/vnet/mpls')
-rw-r--r--src/vnet/mpls/mpls_tunnel.c2
1 files changed, 1 insertions, 1 deletions
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,