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/libip6t_hbh.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions/libip6t_hbh.c') diff --git a/extensions/libip6t_hbh.c b/extensions/libip6t_hbh.c index 4312399..c139c23 100644 --- a/extensions/libip6t_hbh.c +++ b/extensions/libip6t_hbh.c @@ -30,14 +30,14 @@ UNAME , IPTABLES_VERSION, LNAME, LNAME, IP6T_OPTS_OPTSNR); } #if HOPBYHOP -static struct option opts[] = { +static const struct option opts[] = { { "hbh-len", 1, 0, '1' }, { "hbh-opts", 1, 0, '2' }, { "hbh-not-strict", 1, 0, '3' }, {0} }; #else -static struct option opts[] = { +static const struct option opts[] = { { "dst-len", 1, 0, '1' }, { "dst-opts", 1, 0, '2' }, { "dst-not-strict", 1, 0, '3' }, -- cgit v1.2.3