]> git.puffer.fish Git - matthieu/frr.git/commitdiff
zebra: Fix missing break in switch
authorDonald Sharp <sharpd@nvidia.com>
Sun, 29 Oct 2023 20:04:16 +0000 (16:04 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Fri, 3 Nov 2023 17:54:55 +0000 (17:54 +0000)
Recent Changes added the -Wimplicit-fallthrough flag
to FRR's compilation.  Implementor does not build with
lua support and as such this one was missed in the compilation

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/zebra_script.c

index 9f8490ac66ffec26d1da565d48c77f456c87feea..3ebc6d974bb8b8af0757306bb8f24e1d1a419e1f 100644 (file)
@@ -396,6 +396,7 @@ void lua_pushzebra_dplane_ctx(lua_State *L, const struct zebra_dplane_ctx *ctx)
                        lua_setfield(L, -2, "mtu");
                }
                lua_setfield(L, -2, "gre");
+               break;
 
        case DPLANE_OP_ADDR_INSTALL:
        case DPLANE_OP_ADDR_UNINSTALL: