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/libip6t_rt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/libip6t_rt.c') diff --git a/extensions/libip6t_rt.c b/extensions/libip6t_rt.c index a36c65ae..3c3911e3 100644 --- a/extensions/libip6t_rt.c +++ b/extensions/libip6t_rt.c @@ -29,7 +29,7 @@ help(void) IPTABLES_VERSION, IP6T_RT_HOPS); } -static struct option opts[] = { +static const struct option opts[] = { { "rt-type", 1, 0, '1' }, { "rt-segsleft", 1, 0, '2' }, { "rt-len", 1, 0, '3' }, -- cgit v1.2.3