diff options
author | Phil Sutter <phil@nwl.cc> | 2023-11-15 16:58:15 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2023-12-05 16:35:37 +0100 |
commit | e224f0b10ef01e3e2081054e7fa4f64601726646 (patch) | |
tree | 044422b2440e7f667df3e4d57807ccc670384507 /iptables/iptables.c | |
parent | ea7fef2a6f0457c44929bc8d1871257c15ed78ce (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/iptables.c')
-rw-r--r-- | iptables/iptables.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/iptables/iptables.c b/iptables/iptables.c index 69dd2890..b57483ef 100644 --- a/iptables/iptables.c +++ b/iptables/iptables.c @@ -664,6 +664,7 @@ int do_command4(int argc, char *argv[], char **table, .post_parse = ipv4_post_parse, .option_name = ip46t_option_name, .option_invert = ip46t_option_invert, + .command_default = command_default, }; struct xt_cmd_parse p = { .table = *table, |