Re: [PATCH 2/2] iptables: iptables: Constify option struct

2017-04-07 Thread Pablo Neira Ayuso
On Sun, Apr 02, 2017 at 12:35:08PM +0530, Arushi Singhal wrote: > The structs of the type option are not modified anywhere. xtables-eb.c: In function ‘ebt_load_match_extensions’: xtables-eb.c:653:7: warning: assignment discards ‘const’ qualifier from pointer target type opts =

[PATCH 2/2] iptables: iptables: Constify option struct

2017-04-02 Thread Arushi Singhal
The structs of the type option are not modified anywhere. Signed-off-by: Arushi Singhal --- iptables/ip6tables.c| 2 +- iptables/iptables-xml.c | 2 +- iptables/xtables-arp.c | 2 +- iptables/xtables-eb.c | 2 +- iptables/xtables.c | 2 +- 5 files