diff options
author | Phil Sutter <phil@nwl.cc> | 2021-06-11 16:19:18 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2021-06-14 13:31:07 +0200 |
commit | c2e06beef3390867901080c0d789e3b6257e2b98 (patch) | |
tree | d3607077caa256d07d98ca76bbef60d999595fb3 /src | |
parent | f7b0eef8391ae7f89a3a82f6eeecaebe199224d7 (diff) |
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 <phil@nwl.cc>
Diffstat (limited to 'src')
-rw-r--r-- | src/evaluate.c | 1 |
1 files changed, 1 insertions, 0 deletions
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: |