summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_recent.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2007-07-30 14:46:51 +0000
committerYasuyuki KOZAKAI <yasuyuki@netfilter.org>2007-07-30 14:46:51 +0000
commit661f112072bc13a1625c4eb5983695e122ea97da (patch)
treebe6e92e37536c8220593f51fce54c701285a4e16 /extensions/libipt_recent.c
parentd01454062d0265f118c1b721740997cb93ef8cdb (diff)
Make the option structures const.
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Diffstat (limited to 'extensions/libipt_recent.c')
-rw-r--r--extensions/libipt_recent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libipt_recent.c b/extensions/libipt_recent.c
index 38d58711..94721b3f 100644
--- a/extensions/libipt_recent.c
+++ b/extensions/libipt_recent.c
@@ -22,7 +22,7 @@
#endif /* IPT_RECENT_NAME_LEN */
/* Options for this module */
-static struct option opts[] = {
+static const struct option opts[] = {
{ .name = "set", .has_arg = 0, .flag = 0, .val = 201 },
{ .name = "rcheck", .has_arg = 0, .flag = 0, .val = 202 },
{ .name = "update", .has_arg = 0, .flag = 0, .val = 203 },