diff options
author | Florian Westphal <fw@strlen.de> | 2018-04-13 13:43:33 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-04-13 20:06:16 +0200 |
commit | 69c089b19a144c482c00d65f17c6c80b25b4d052 (patch) | |
tree | 167468244b8f1c974f0f671cb2baec91280ec101 | |
parent | 03ecffe6c2cc0c71f5ece161d39368d56930e241 (diff) |
xt-compat: constify a few struct members
avoids a compiler warning in a followup patch.
Signed-off-by: Florian Westphal <fw@strlen.de>
-rw-r--r-- | iptables/nft-shared.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/iptables/nft-shared.h b/iptables/nft-shared.h index c0948fd4..e13a1a85 100644 --- a/iptables/nft-shared.h +++ b/iptables/nft-shared.h @@ -223,9 +223,9 @@ struct nft_xt_cmd_parse { unsigned int command; unsigned int rulenum; char *table; - char *chain; - char *newname; - char *policy; + const char *chain; + const char *newname; + const char *policy; bool restore; int verbose; }; |