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/libxt_udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/libxt_udp.c') diff --git a/extensions/libxt_udp.c b/extensions/libxt_udp.c index 6942043..81ff314 100644 --- a/extensions/libxt_udp.c +++ b/extensions/libxt_udp.c @@ -22,7 +22,7 @@ help(void) IPTABLES_VERSION); } -static struct option opts[] = { +static const struct option opts[] = { { "source-port", 1, 0, '1' }, { "sport", 1, 0, '1' }, /* synonym */ { "destination-port", 1, 0, '2' }, -- cgit v1.2.3