summaryrefslogtreecommitdiff
path: root/zebra/zebra_mpls.c
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2023-10-13 11:51:11 -0400
committerGitHub <noreply@github.com>2023-10-13 11:51:11 -0400
commit02cbd978011ca0a8afe729ac67f7c00009d5ca0d (patch)
treea43347ff1519213c9176d5ad5515ec3468f4eaad /zebra/zebra_mpls.c
parent4fa73b6572df03fd9df7ffddf279abbcf8ad6b9c (diff)
parent7d67b9ff28d09de58c632f80ef7d330e45e698f6 (diff)
Merge pull request #14561 from idryzhov/implicit-fallthrough
build: add -Wimplicit-fallthrough
Diffstat (limited to 'zebra/zebra_mpls.c')
-rw-r--r--zebra/zebra_mpls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/zebra_mpls.c b/zebra/zebra_mpls.c
index eac4fcc8e0..c2e34faed6 100644
--- a/zebra/zebra_mpls.c
+++ b/zebra/zebra_mpls.c
@@ -1182,6 +1182,7 @@ static char *nhlfe2str(const struct zebra_nhlfe *nhlfe, char *buf, int size)
break;
case NEXTHOP_TYPE_IFINDEX:
snprintf(buf, size, "Ifindex: %u", nexthop->ifindex);
+ break;
case NEXTHOP_TYPE_BLACKHOLE:
break;
}