]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: add missing case statement in nhlfe2str() 4948/head
authorRenato Westphal <renato@opensourcerouting.org>
Wed, 7 Aug 2019 23:53:06 +0000 (20:53 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Fri, 6 Sep 2019 23:58:09 +0000 (20:58 -0300)
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
zebra/zebra_mpls.c

index 19b0e41b39c4ec10f69d894764d3a4a6f2fd43b2..7018a0a77898a3d57fe953442bef78a37d54b00c 100644 (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);
                break;
        case NEXTHOP_TYPE_IPV6:
+       case NEXTHOP_TYPE_IPV6_IFINDEX:
                inet_ntop(AF_INET6, &nexthop->gate.ipv6, buf, size);
                break;
        case NEXTHOP_TYPE_IFINDEX: