summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_unclean.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2009-06-12 20:59:34 +0200
committerJan Engelhardt <jengelh@medozas.de>2009-06-26 21:13:10 +0200
commit7d68df47fad305673958351a4e2a5c6e75927caa (patch)
tree96210987615c0838c660e8c420b97937c532b748 /extensions/libipt_unclean.c
parentf89c1716a7743ca6e2e6164d3b64c15b2e285e1e (diff)
extensions: remove empty help and parse functions
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions/libipt_unclean.c')
-rw-r--r--extensions/libipt_unclean.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/extensions/libipt_unclean.c b/extensions/libipt_unclean.c
index 93d9013e..bc4a4a08 100644
--- a/extensions/libipt_unclean.c
+++ b/extensions/libipt_unclean.c
@@ -1,28 +1,12 @@
/* Shared library add-on to iptables for unclean. */
-#include <stdio.h>
-#include <stdlib.h>
-#include <getopt.h>
#include <xtables.h>
-static void unclean_help(void)
-{
- printf("unclean match takes no options\n");
-}
-
-static int unclean_parse(int c, char **argv, int invert, unsigned int *flags,
- const void *entry, struct xt_entry_match **match)
-{
- return 0;
-}
-
static struct xtables_match unclean_mt_reg = {
.name = "unclean",
.version = XTABLES_VERSION,
.family = NFPROTO_IPV4,
.size = XT_ALIGN(0),
.userspacesize = XT_ALIGN(0),
- .help = unclean_help,
- .parse = unclean_parse,
};
void _init(void)