diff options
Diffstat (limited to 'iptables/nft.h')
-rw-r--r-- | iptables/nft.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/iptables/nft.h b/iptables/nft.h index f1a58b9e..e2004ba6 100644 --- a/iptables/nft.h +++ b/iptables/nft.h @@ -196,9 +196,11 @@ void __add_match(struct nftnl_expr *e, const struct xt_entry_match *m); int add_match(struct nft_handle *h, struct nft_rule_ctx *ctx, struct nftnl_rule *r, struct xt_entry_match *m); void __add_target(struct nftnl_expr *e, const struct xt_entry_target *t); -int add_target(struct nftnl_rule *r, struct xt_entry_target *t); +int add_target(struct nft_handle *h, struct nftnl_rule *r, + struct xt_entry_target *t); int add_jumpto(struct nftnl_rule *r, const char *name, int verdict); -int add_action(struct nftnl_rule *r, struct iptables_command_state *cs, bool goto_set); +int add_action(struct nft_handle *h, struct nftnl_rule *r, + struct iptables_command_state *cs, bool goto_set); char *get_comment(const void *data, uint32_t data_len); enum nft_rule_print { |