--- ../patch-o-matic-ng/patchlets/IPV4OPTSSTRIP/iptables/extensions/libipt_IPV4OPTSSTRIP.c.orig 2008-03-13 21:43:06.000000000 +0100 +++ ../patch-o-matic-ng/patchlets/IPV4OPTSSTRIP/iptables/extensions/libipt_IPV4OPTSSTRIP.c 2008-03-13 23:51:27.000000000 +0100 @@ -20,15 +20,15 @@ } static struct option opts[] = { - { 0 } + { .name = NULL } }; /* Function which parses command options; returns true if it ate an option */ static int parse(int c, char **argv, int invert, unsigned int *flags, - const struct ipt_entry *entry, - struct ipt_entry_target **target) + const void *entry, + struct xt_entry_target **target) { return 0; } @@ -40,8 +40,8 @@ /* Prints out the targinfo. */ static void -print(const struct ipt_ip *ip, - const struct ipt_entry_target *target, +print(const void *ip, + const struct xt_entry_target *target, int numeric) { /* nothing to print, we don't take option... */ @@ -49,12 +49,12 @@ /* Saves the stuff in parsable form to stdout. */ static void -save(const struct ipt_ip *ip, const struct ipt_entry_target *target) +save(const void *ip, const struct xt_entry_target *target) { /* nothing to print, we don't take option... */ } -static struct iptables_target IPV4OPTSSTRIP = { +static struct xtables_target IPV4OPTSSTRIP = { .next = NULL, .name = "IPV4OPTSSTRIP", .version = IPTABLES_VERSION,