diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-06-12 20:59:34 +0200 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2009-06-26 21:13:10 +0200 |
commit | 7d68df47fad305673958351a4e2a5c6e75927caa (patch) | |
tree | 96210987615c0838c660e8c420b97937c532b748 /extensions/libipt_MIRROR.c | |
parent | f89c1716a7743ca6e2e6164d3b64c15b2e285e1e (diff) |
extensions: remove empty help and parse functions
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions/libipt_MIRROR.c')
-rw-r--r-- | extensions/libipt_MIRROR.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/extensions/libipt_MIRROR.c b/extensions/libipt_MIRROR.c index 81964dd7..fb78751d 100644 --- a/extensions/libipt_MIRROR.c +++ b/extensions/libipt_MIRROR.c @@ -1,32 +1,12 @@ /* Shared library add-on to iptables to add MIRROR target support. */ -#include <stdio.h> -#include <string.h> -#include <stdlib.h> -#include <getopt.h> - #include <xtables.h> -static void MIRROR_help(void) -{ - printf("MIRROR target takes no options\n"); -} - -static int MIRROR_parse(int c, char **argv, int invert, unsigned int *flags, - const void *entry, struct xt_entry_target **target) -{ - return 0; -} - static struct xtables_target mirror_tg_reg = { .name = "MIRROR", .version = XTABLES_VERSION, .family = NFPROTO_IPV4, .size = XT_ALIGN(0), .userspacesize = XT_ALIGN(0), - .help = MIRROR_help, - .parse = MIRROR_parse, - .print = NULL, - .save = NULL, }; void _init(void) |