diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2007-07-30 14:32:26 +0000 |
---|---|---|
committer | Yasuyuki KOZAKAI <yasuyuki@netfilter.org> | 2007-07-30 14:32:26 +0000 |
commit | d01454062d0265f118c1b721740997cb93ef8cdb (patch) | |
tree | bfa8ab2b178a18d02b6d634ebf38ec3aecac4c56 /extensions/libxt_standard.c | |
parent | 6f1c597f2aef128e35a78717a998fed7567ade2c (diff) |
Makes it possible to omit extra_opts of matches/targets if unnecessary.
(Jan Engelhardt <jengelh@gmx.de>)
A nice side effect is that merge_option() doesn't copy options in that case.
Diffstat (limited to 'extensions/libxt_standard.c')
-rw-r--r-- | extensions/libxt_standard.c | 6 |
1 files changed, 0 insertions, 6 deletions
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) |