aboutsummaryrefslogtreecommitdiff
path: root/gencode.h
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2023-05-06 15:50:41 -0700
committerGuy Harris <gharris@sonic.net>2023-05-06 15:50:41 -0700
commitc6fb4eb56c839a3f04b51181992ba14b05d57bd2 (patch)
treebcd937a43b2451a805a710734dcf1e1c55bf9b78 /gencode.h
parentecbab714ecbe6893e6415295e4bf2fcc9d0d94b5 (diff)
compiler: remove unneeded argument from gen_mcode6().
We don't support "<ipv6net> mask <ipv6mask>", so no need to pass an <ipv6mask> argument.
Diffstat (limited to 'gencode.h')
-rw-r--r--gencode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gencode.h b/gencode.h
index 93ca5216..b8296ab2 100644
--- a/gencode.h
+++ b/gencode.h
@@ -327,8 +327,8 @@ struct block *gen_acode(compiler_state_t *, const char *, struct qual);
struct block *gen_mcode(compiler_state_t *, const char *, const char *,
bpf_u_int32, struct qual);
#ifdef INET6
-struct block *gen_mcode6(compiler_state_t *, const char *, const char *,
- bpf_u_int32, struct qual);
+struct block *gen_mcode6(compiler_state_t *, const char *, bpf_u_int32,
+ struct qual);
#endif
struct block *gen_ncode(compiler_state_t *, const char *, bpf_u_int32,
struct qual);