summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_unclean.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2007-07-30 14:32:26 +0000
committerYasuyuki KOZAKAI <yasuyuki@netfilter.org>2007-07-30 14:32:26 +0000
commitd01454062d0265f118c1b721740997cb93ef8cdb (patch)
treebfa8ab2b178a18d02b6d634ebf38ec3aecac4c56 /extensions/libipt_unclean.c
parent6f1c597f2aef128e35a78717a998fed7567ade2c (diff)
Makes it possible to omit extra_opts of matches/targets if unnecessary.
(Jan Engelhardt <jengelh@gmx.de>) A nice side effect is that merge_option() doesn't copy options in that case.
Diffstat (limited to 'extensions/libipt_unclean.c')
-rw-r--r--extensions/libipt_unclean.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/extensions/libipt_unclean.c b/extensions/libipt_unclean.c
index 8bb29634..4ac41919 100644
--- a/extensions/libipt_unclean.c
+++ b/extensions/libipt_unclean.c
@@ -13,10 +13,6 @@ help(void)
"\n", IPTABLES_VERSION);
}
-static struct option opts[] = {
- {0}
-};
-
/* Function which parses command options; returns true if it
ate an option */
static int
@@ -44,7 +40,6 @@ struct iptables_match unclean = {
.final_check = &final_check,
.print = NULL,
.save = NULL,
- .extra_opts = opts
};
void _init(void)