From 69c089b19a144c482c00d65f17c6c80b25b4d052 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Fri, 13 Apr 2018 13:43:33 +0200 Subject: xt-compat: constify a few struct members avoids a compiler warning in a followup patch. Signed-off-by: Florian Westphal --- iptables/nft-shared.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'iptables') 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; }; -- cgit v1.2.3