summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_string.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libipt_string.c')
-rw-r--r--extensions/libipt_string.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/libipt_string.c b/extensions/libipt_string.c
index 82a0f7ce..186013a3 100644
--- a/extensions/libipt_string.c
+++ b/extensions/libipt_string.c
@@ -170,7 +170,7 @@ parse_hex_string(const char *s, struct ipt_string_info *info)
ate an option */
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)
{
@@ -289,7 +289,7 @@ print_string(const char *str, const unsigned short int len)
/* Prints out the matchinfo. */
static void
-print(const struct ipt_ip *ip,
+print(const void *ip,
const struct xt_entry_match *match,
int numeric)
{
@@ -313,7 +313,7 @@ print(const struct ipt_ip *ip,
/* Saves the union ipt_matchinfo in parseable form to stdout. */
static void
-save(const struct ipt_ip *ip, const struct xt_entry_match *match)
+save(const void *ip, const struct xt_entry_match *match)
{
const struct ipt_string_info *info =
(const struct ipt_string_info*) match->data;