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/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 5409deec..f5602f5e 100644 --- a/extensions/libipt_ttl.c +++ b/extensions/libipt_ttl.c @@ -143,7 +143,7 @@ static void save(const void *ip, printf("%u ", info->ttl); } -static struct option opts[] = { +static const struct option opts[] = { { "ttl", 1, 0, '2' }, { "ttl-eq", 1, 0, '2'}, { "ttl-lt", 1, 0, '3'}, -- cgit v1.2.3