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/libipt_ecn.c | |
parent | d01454062d0265f118c1b721740997cb93ef8cdb (diff) |
Make the option structures const.
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Diffstat (limited to 'extensions/libipt_ecn.c')
-rw-r--r-- | extensions/libipt_ecn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libipt_ecn.c b/extensions/libipt_ecn.c index 8a5a7d39..538966ff 100644 --- a/extensions/libipt_ecn.c +++ b/extensions/libipt_ecn.c @@ -26,7 +26,7 @@ static void help(void) IPTABLES_VERSION); } -static struct option opts[] = { +static const struct option opts[] = { { .name = "ecn-tcp-cwr", .has_arg = 0, .flag = 0, .val = 'F' }, { .name = "ecn-tcp-ece", .has_arg = 0, .flag = 0, .val = 'G' }, { .name = "ecn-ip-ect", .has_arg = 1, .flag = 0, .val = 'H' }, |