diff options
-rw-r--r-- | iptables/nft-shared.h | 2 | ||||
-rw-r--r-- | iptables/xtables-restore.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/iptables/nft-shared.h b/iptables/nft-shared.h index 9d629134..a330aceb 100644 --- a/iptables/nft-shared.h +++ b/iptables/nft-shared.h @@ -261,7 +261,7 @@ struct nft_xt_restore_cb { }; 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[]); diff --git a/iptables/xtables-restore.c b/iptables/xtables-restore.c index 4f6d324b..cb03104e 100644 --- a/iptables/xtables-restore.c +++ b/iptables/xtables-restore.c @@ -86,7 +86,7 @@ static const struct xtc_ops xtc_ops = { }; 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[]) { |