From: Renato Westphal Date: Wed, 7 Aug 2019 23:53:06 +0000 (-0300) Subject: zebra: add missing case statement in nhlfe2str() X-Git-Tag: base_7.3~361^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F4948%2Fhead;p=mirror%2Ffrr.git zebra: add missing case statement in nhlfe2str() Signed-off-by: Renato Westphal --- diff --git a/zebra/zebra_mpls.c b/zebra/zebra_mpls.c index 19b0e41b39..7018a0a778 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: