From be489c57389c1da495acbb9c4df9e59eeb34648c Mon Sep 17 00:00:00 2001 From: Renato Westphal Date: Wed, 7 Aug 2019 20:53:06 -0300 Subject: [PATCH] zebra: add missing case statement in nhlfe2str() Signed-off-by: Renato Westphal --- zebra/zebra_mpls.c | 1 + 1 file changed, 1 insertion(+) diff --git a/zebra/zebra_mpls.c b/zebra/zebra_mpls.c index 19b0e41b3..7018a0a77 100644 --- a/zebra/zebra_mpls.c +++ b/zebra/zebra_mpls.c @@ -1112,6 +1112,7 @@ static char *nhlfe2str(zebra_nhlfe_t *nhlfe, char *buf, int size) inet_ntop(AF_INET, &nexthop->gate.ipv4, buf, size); break; case NEXTHOP_TYPE_IPV6: + case NEXTHOP_TYPE_IPV6_IFINDEX: inet_ntop(AF_INET6, &nexthop->gate.ipv6, buf, size); break; case NEXTHOP_TYPE_IFINDEX: -- 2.39.5