[PATCH 02/**] make extra_opts const
Jan Engelhardt
jengelh at computergmbh.de
Tue Jul 24 12:16:00 CEST 2007
Make xtables_target->extra_opts const (xtables_match->extra_opts already is)
Signed-off-by: Jan Engelhardt <jengelh at 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;
More information about the netfilter-devel
mailing list