summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_MIRROR.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_MIRROR.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_MIRROR.c')
-rw-r--r--extensions/libipt_MIRROR.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/extensions/libipt_MIRROR.c b/extensions/libipt_MIRROR.c
index 02923b8c..2e3fb47a 100644
--- a/extensions/libipt_MIRROR.c
+++ b/extensions/libipt_MIRROR.c
@@ -16,10 +16,6 @@ help(void)
IPTABLES_VERSION);
}
-static struct option opts[] = {
- { 0 }
-};
-
/* Initialize the target. */
static void
init(struct xt_entry_target *t, unsigned int *nfcache)
@@ -52,7 +48,6 @@ static struct iptables_target mirror = {
.final_check = &final_check,
.print = NULL,
.save = NULL,
- .extra_opts = opts
};
void _init(void)