Fixes warning on compilation of ip6tables matches/targets
This changes the type of arguments as follows
- ip6t_ip6 * -> void *
- ip6t_entry * -> void *
diff --git a/extensions/libip6t_sctp.c b/extensions/libip6t_sctp.c
index aee7072..d2896e1 100644
--- a/extensions/libip6t_sctp.c
+++ b/extensions/libip6t_sctp.c
@@ -263,7 +263,7 @@
static int
parse(int c, char **argv, int invert, unsigned int *flags,
- const struct ip6t_entry *entry,
+ const void *entry,
unsigned int *nfcache,
struct ip6t_entry_match **match)
{
@@ -458,7 +458,7 @@
/* Prints out the matchinfo. */
static void
-print(const struct ip6t_ip6 *ip,
+print(const void *ip,
const struct ip6t_entry_match *match,
int numeric)
{
@@ -492,7 +492,7 @@
/* Saves the union xt_matchinfo in parsable form to stdout. */
static void
-save(const struct ip6t_ip6 *ip,
+save(const void *ip,
const struct ip6t_entry_match *match)
{
const struct xt_sctp_info *einfo =