summaryrefslogtreecommitdiffstats
path: root/extensions/libip6t_hl.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/libip6t_hl.c
parentd01454062d0265f118c1b721740997cb93ef8cdb (diff)
Make the option structures const.
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Diffstat (limited to 'extensions/libip6t_hl.c')
-rw-r--r--extensions/libip6t_hl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libip6t_hl.c b/extensions/libip6t_hl.c
index 58b9fcfd..197ef853 100644
--- a/extensions/libip6t_hl.c
+++ b/extensions/libip6t_hl.c
@@ -120,7 +120,7 @@ static void save(const void *ip,
printf("--hl-%s %u ", op[info->mode], info->hop_limit);
}
-static struct option opts[] = {
+static const struct option opts[] = {
{ .name = "hl", .has_arg = 1, .flag = 0, .val = '2' },
{ .name = "hl-eq", .has_arg = 1, .flag = 0, .val = '2' },
{ .name = "hl-lt", .has_arg = 1, .flag = 0, .val = '3' },