From d01454062d0265f118c1b721740997cb93ef8cdb Mon Sep 17 00:00:00 2001 From: Jan Engelhardt 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_TRACE.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'extensions/libipt_TRACE.c') diff --git a/extensions/libipt_TRACE.c b/extensions/libipt_TRACE.c index 22652cb6..d5c073e4 100644 --- a/extensions/libipt_TRACE.c +++ b/extensions/libipt_TRACE.c @@ -16,10 +16,6 @@ help(void) IPTABLES_VERSION); } -static struct option opts[] = { - { 0 } -}; - /* Initialize the target. */ static void init(struct ipt_entry_target *t, unsigned int *nfcache) @@ -54,7 +50,6 @@ struct iptables_target trace .final_check = &final_check, .print = NULL, /* print */ .save = NULL, /* save */ - .extra_opts = opts }; void _init(void) -- cgit v1.2.3