commit | 69c089b19a144c482c00d65f17c6c80b25b4d052 | [log] [tgz] |
---|---|---|
author | Florian Westphal <fw@strlen.de> | Fri Apr 13 13:43:33 2018 +0200 |
committer | Florian Westphal <fw@strlen.de> | Fri Apr 13 20:06:16 2018 +0200 |
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>
diff --git a/iptables/nft-shared.h b/iptables/nft-shared.h index c0948fd..e13a1a8 100644 --- a/iptables/nft-shared.h +++ b/iptables/nft-shared.h
@@ -223,9 +223,9 @@ 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; };