summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_multiport.c
diff options
context:
space:
mode:
author/C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org </C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org>2007-07-30 14:46:51 +0000
committer/C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org </C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org>2007-07-30 14:46:51 +0000
commitcbfc4dd2b468ec518eeea535bd8689325ba7335a (patch)
treebe6e92e37536c8220593f51fce54c701285a4e16 /extensions/libxt_multiport.c
parent2c586fbb6ac21fbfeb289df21d47c8726220422f (diff)
Make the option structures const.
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Diffstat (limited to 'extensions/libxt_multiport.c')
-rw-r--r--extensions/libxt_multiport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libxt_multiport.c b/extensions/libxt_multiport.c
index 274a583..f7e67da 100644
--- a/extensions/libxt_multiport.c
+++ b/extensions/libxt_multiport.c
@@ -45,7 +45,7 @@ help_v1(void)
IPTABLES_VERSION);
}
-static struct option opts[] = {
+static const struct option opts[] = {
{ "source-ports", 1, 0, '1' },
{ "sports", 1, 0, '1' }, /* synonym */
{ "destination-ports", 1, 0, '2' },