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/libxt_standard.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'extensions/libxt_standard.c') diff --git a/extensions/libxt_standard.c b/extensions/libxt_standard.c index 3838ac65..9aafb6c0 100644 --- a/extensions/libxt_standard.c +++ b/extensions/libxt_standard.c @@ -16,10 +16,6 @@ help(void) "(If target is DROP, ACCEPT, RETURN or nothing)\n", IPTABLES_VERSION); } -static struct option opts[] = { - {0} -}; - /* Initialize the target. */ static void init(struct xt_entry_target *t, unsigned int *nfcache) @@ -60,7 +56,6 @@ struct xtables_target standard = { .final_check = &final_check, .print = NULL, .save = &save, - .extra_opts = opts }; static @@ -76,7 +71,6 @@ struct xtables_target standard6 = { .final_check = &final_check, .print = NULL, .save = &save, - .extra_opts = opts }; void _init(void) -- cgit v1.2.3