summaryrefslogtreecommitdiffstats
path: root/iptables/ip6tables.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2023-11-15 16:58:15 +0100
committerPhil Sutter <phil@nwl.cc>2023-12-05 16:35:37 +0100
commite224f0b10ef01e3e2081054e7fa4f64601726646 (patch)
tree044422b2440e7f667df3e4d57807ccc670384507 /iptables/ip6tables.c
parentea7fef2a6f0457c44929bc8d1871257c15ed78ce (diff)
xshared: Turn command_default() into a callback
Ebtables' variant is pretty different since all extensions are loaded up front and some targets serve as "watcher" extensions, so let variants specify the function to call for extension parameters. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/ip6tables.c')
-rw-r--r--iptables/ip6tables.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/iptables/ip6tables.c b/iptables/ip6tables.c
index 53eeb6e9..96603756 100644
--- a/iptables/ip6tables.c
+++ b/iptables/ip6tables.c
@@ -670,6 +670,7 @@ int do_command6(int argc, char *argv[], char **table,
.post_parse = ipv6_post_parse,
.option_name = ip46t_option_name,
.option_invert = ip46t_option_invert,
+ .command_default = command_default,
};
struct xt_cmd_parse p = {
.table = *table,