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/libip6t_TRACE.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'extensions/libip6t_TRACE.c') diff --git a/extensions/libip6t_TRACE.c b/extensions/libip6t_TRACE.c index edbb416..9784093 100644 --- a/extensions/libip6t_TRACE.c +++ b/extensions/libip6t_TRACE.c @@ -16,10 +16,6 @@ help(void) IPTABLES_VERSION); } -static struct option opts[] = { - { 0 } -}; - /* Initialize the target. */ static void init(struct ip6t_entry_target *t, unsigned int *nfcache) @@ -54,7 +50,6 @@ struct ip6tables_target trace .final_check = &final_check, .print = NULL, /* print */ .save = NULL, /* save */ - .extra_opts = opts }; void _init(void) -- cgit v1.2.3