From 661f112072bc13a1625c4eb5983695e122ea97da Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 30 Jul 2007 14:46:51 +0000 Subject: Make the option structures const. Signed-off-by: Jan Engelhardt --- extensions/libxt_sctp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/libxt_sctp.c') diff --git a/extensions/libxt_sctp.c b/extensions/libxt_sctp.c index 5d23f091..734e706a 100644 --- a/extensions/libxt_sctp.c +++ b/extensions/libxt_sctp.c @@ -69,7 +69,7 @@ static void help(void) IPTABLES_VERSION); } -static struct option opts[] = { +static const struct option opts[] = { { .name = "source-port", .has_arg = 1, .flag = 0, .val = '1' }, { .name = "sport", .has_arg = 1, .flag = 0, .val = '1' }, { .name = "destination-port", .has_arg = 1, .flag = 0, .val = '2' }, -- cgit v1.2.3