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/libipt_ecn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/libipt_ecn.c') diff --git a/extensions/libipt_ecn.c b/extensions/libipt_ecn.c index 8a5a7d3..538966f 100644 --- a/extensions/libipt_ecn.c +++ b/extensions/libipt_ecn.c @@ -26,7 +26,7 @@ static void help(void) IPTABLES_VERSION); } -static struct option opts[] = { +static const struct option opts[] = { { .name = "ecn-tcp-cwr", .has_arg = 0, .flag = 0, .val = 'F' }, { .name = "ecn-tcp-ece", .has_arg = 0, .flag = 0, .val = 'G' }, { .name = "ecn-ip-ect", .has_arg = 1, .flag = 0, .val = 'H' }, -- cgit v1.2.3