This structure contains restore parser configuration, parser is not
supposed to alter it.
Suggested-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
};
void xtables_restore_parse(struct nft_handle *h,
- struct nft_xt_restore_parse *p,
+ const struct nft_xt_restore_parse *p,
struct nft_xt_restore_cb *cb,
int argc, char *argv[]);
};
void xtables_restore_parse(struct nft_handle *h,
- struct nft_xt_restore_parse *p,
+ const struct nft_xt_restore_parse *p,
struct nft_xt_restore_cb *cb,
int argc, char *argv[])
{