From: Phil Sutter Date: Fri, 11 Jun 2021 14:19:18 +0000 (+0200) Subject: evaluate: Mark fall through case in str2hooknum() X-Git-Tag: v1.0.0~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2e06beef3390867901080c0d789e3b6257e2b98;p=thirdparty%2Fnftables.git evaluate: Mark fall through case in str2hooknum() It is certainly intentional, so just mark it as such. Fixes: b4775dec9f80b ("src: ingress inet support") Signed-off-by: Phil Sutter --- diff --git a/src/evaluate.c b/src/evaluate.c index 5311963a..5863fc82 100644 --- a/src/evaluate.c +++ b/src/evaluate.c @@ -4146,6 +4146,7 @@ static uint32_t str2hooknum(uint32_t family, const char *hook) case NFPROTO_INET: if (!strcmp(hook, "ingress")) return NF_INET_INGRESS; + /* fall through */ case NFPROTO_IPV4: case NFPROTO_BRIDGE: case NFPROTO_IPV6: