diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2007-07-30 14:46:51 +0000 |
---|---|---|
committer | Yasuyuki KOZAKAI <yasuyuki@netfilter.org> | 2007-07-30 14:46:51 +0000 |
commit | 661f112072bc13a1625c4eb5983695e122ea97da (patch) | |
tree | be6e92e37536c8220593f51fce54c701285a4e16 /extensions/libip6t_hbh.c | |
parent | d01454062d0265f118c1b721740997cb93ef8cdb (diff) |
Make the option structures const.
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Diffstat (limited to 'extensions/libip6t_hbh.c')
-rw-r--r-- | extensions/libip6t_hbh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libip6t_hbh.c b/extensions/libip6t_hbh.c index 4312399e..c139c233 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' }, |