zebra: add missing case statement in nhlfe2str()

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
This commit is contained in:
Renato Westphal 2019-08-07 20:53:06 -03:00
parent e29f8d0db3
commit be489c5738

View File

@ -1112,6 +1112,7 @@ static char *nhlfe2str(zebra_nhlfe_t *nhlfe, char *buf, int size)
inet_ntop(AF_INET, &nexthop->gate.ipv4, buf, size); inet_ntop(AF_INET, &nexthop->gate.ipv4, buf, size);
break; break;
case NEXTHOP_TYPE_IPV6: case NEXTHOP_TYPE_IPV6:
case NEXTHOP_TYPE_IPV6_IFINDEX:
inet_ntop(AF_INET6, &nexthop->gate.ipv6, buf, size); inet_ntop(AF_INET6, &nexthop->gate.ipv6, buf, size);
break; break;
case NEXTHOP_TYPE_IFINDEX: case NEXTHOP_TYPE_IFINDEX: