From cbfc4dd2b468ec518eeea535bd8689325ba7335a Mon Sep 17 00:00:00 2001 From: "/C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org" Date: Mon, 30 Jul 2007 14:46:51 +0000 Subject: Make the option structures const. Signed-off-by: Jan Engelhardt --- extensions/libip6t_dst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/libip6t_dst.c') diff --git a/extensions/libip6t_dst.c b/extensions/libip6t_dst.c index 8c9455b..cb49c1f 100644 --- a/extensions/libip6t_dst.c +++ b/extensions/libip6t_dst.c @@ -31,7 +31,7 @@ UNAME " v%s options:\n" IPTABLES_VERSION, IP6T_OPTS_OPTSNR); } -static struct option opts[] = { +static const struct option opts[] = { { .name = LNAME "-len", .has_arg = 1, .flag = 0, .val = '1' }, { .name = LNAME "-opts", .has_arg = 1, .flag = 0, .val = '2' }, { .name = LNAME "-not-strict", .has_arg = 1, .flag = 0, .val = '3' }, -- cgit v1.2.3