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_TTL.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/libipt_TTL.c') diff --git a/extensions/libipt_TTL.c b/extensions/libipt_TTL.c index 6110e0e..fa3205a 100644 --- a/extensions/libipt_TTL.c +++ b/extensions/libipt_TTL.c @@ -138,7 +138,7 @@ static void print(const void *ip, printf("%u ", info->ttl); } -static struct option opts[] = { +static const struct option opts[] = { { "ttl-set", 1, 0, '1' }, { "ttl-dec", 1, 0, '2' }, { "ttl-inc", 1, 0, '3' }, -- cgit v1.2.3