| commit | 661f112072bc13a1625c4eb5983695e122ea97da | [log] [tgz] |
|---|---|---|
| author | Jan Engelhardt <jengelh@medozas.de> | Mon Jul 30 14:46:51 2007 +0000 |
| committer | Yasuyuki KOZAKAI <yasuyuki@netfilter.org> | Mon Jul 30 14:46:51 2007 +0000 |
| tree | be6e92e37536c8220593f51fce54c701285a4e16 | |
| parent | d01454062d0265f118c1b721740997cb93ef8cdb [diff] [blame] |
Make the option structures const. Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
diff --git a/extensions/libxt_tcp.c b/extensions/libxt_tcp.c index da4922b..e5db637 100644 --- a/extensions/libxt_tcp.c +++ b/extensions/libxt_tcp.c
@@ -27,7 +27,7 @@ IPTABLES_VERSION); } -static struct option opts[] = { +static const struct option opts[] = { { "source-port", 1, 0, '1' }, { "sport", 1, 0, '1' }, /* synonym */ { "destination-port", 1, 0, '2' },