Make xtables_target->extra_opts const (xtables_match->extra_opts already is)
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
---
include/xtables.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: iptables/include/xtables.h
===================================================================
--- iptables.orig/include/xtables.h
+++ iptables/include/xtables.h
@@ -158,7 +158,7 @@ struct xtables_target
const struct xt_entry_target *target);
/* Pointer to list of extra command-line options */
- struct option *extra_opts;
+ const struct option *extra_opts;
/* Ignore these men behind the curtain: */
unsigned int option_offset;
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
---
include/xtables.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: iptables/include/xtables.h
===================================================================
--- iptables.orig/include/xtables.h
+++ iptables/include/xtables.h
@@ -158,7 +158,7 @@ struct xtables_target
const struct xt_entry_target *target);
/* Pointer to list of extra command-line options */
- struct option *extra_opts;
+ const struct option *extra_opts;
/* Ignore these men behind the curtain: */
unsigned int option_offset;