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_unclean.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'extensions/libipt_unclean.c') diff --git a/extensions/libipt_unclean.c b/extensions/libipt_unclean.c index 8bb2963..4ac4191 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) -- cgit v1.2.3