From 2c586fbb6ac21fbfeb289df21d47c8726220422f Mon Sep 17 00:00:00 2001 From: "/C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org" Date: Mon, 30 Jul 2007 14:32:26 +0000 Subject: Makes it possible to omit extra_opts of matches/targets if unnecessary. (Jan Engelhardt ) A nice side effect is that merge_option() doesn't copy options in that case. --- extensions/libipt_MIRROR.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'extensions/libipt_MIRROR.c') diff --git a/extensions/libipt_MIRROR.c b/extensions/libipt_MIRROR.c index 02923b8..2e3fb47 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) -- cgit v1.2.3