X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=extensions%2Flibipt_unclean.c;fp=extensions%2Flibipt_unclean.c;h=0000000000000000000000000000000000000000;hb=f81615a1b6e71d36b4f49a38c04805cc52a146c2;hp=4bdbd1b4c9d5377e755a015c22464b755d6e8a13;hpb=38258638166a4aee377b55922610aa57c410e6f9;p=iptables.git diff --git a/extensions/libipt_unclean.c b/extensions/libipt_unclean.c deleted file mode 100644 index 4bdbd1b..0000000 --- a/extensions/libipt_unclean.c +++ /dev/null @@ -1,34 +0,0 @@ -/* Shared library add-on to iptables for unclean. */ -#include -#include -#include -#include - -/* Function which prints out usage message. */ -static void unclean_help(void) -{ - printf("unclean match takes no options\n"); -} - -/* Function which parses command options; returns true if it - ate an option */ -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 = PF_INET, - .size = XT_ALIGN(0), - .userspacesize = XT_ALIGN(0), - .help = unclean_help, - .parse = unclean_parse, -}; - -void _init(void) -{ - xtables_register_match(&unclean_mt_reg); -}