summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_policy.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libipt_policy.c')
-rw-r--r--extensions/libipt_policy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/libipt_policy.c b/extensions/libipt_policy.c
index 06393fe6..978edb00 100644
--- a/extensions/libipt_policy.c
+++ b/extensions/libipt_policy.c
@@ -126,7 +126,7 @@ static int parse_mode(char *s)
}
static int parse(int c, char **argv, int invert, unsigned int *flags,
- const struct ipt_entry *entry,
+ const void *entry,
unsigned int *nfcache,
struct xt_entry_match **match)
{
@@ -387,7 +387,7 @@ static void print_flags(char *prefix, const struct ipt_policy_info *info)
printf("%sstrict ", prefix);
}
-static void print(const struct ipt_ip *ip,
+static void print(const void *ip,
const struct xt_entry_match *match,
int numeric)
{
@@ -403,7 +403,7 @@ static void print(const struct ipt_ip *ip,
}
}
-static void save(const struct ipt_ip *ip, const struct xt_entry_match *match)
+static void save(const void *ip, const struct xt_entry_match *match)
{
const struct ipt_policy_info *info = (void *)match->data;
unsigned int i;