summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_set.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libipt_set.c')
-rw-r--r--extensions/libipt_set.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/libipt_set.c b/extensions/libipt_set.c
index cf5d19d..b9f3122 100644
--- a/extensions/libipt_set.c
+++ b/extensions/libipt_set.c
@@ -38,7 +38,7 @@ static struct option opts[] = {
};
/* Initialize the match. */
-static void init(struct ipt_entry_match *match, unsigned int *nfcache)
+static void init(struct xt_entry_match *match, unsigned int *nfcache)
{
struct ipt_set_info_match *info =
(struct ipt_set_info_match *) match->data;
@@ -52,7 +52,7 @@ static void init(struct ipt_entry_match *match, unsigned int *nfcache)
static int
parse(int c, char **argv, int invert, unsigned int *flags,
const struct ipt_entry *entry,
- unsigned int *nfcache, struct ipt_entry_match **match)
+ unsigned int *nfcache, struct xt_entry_match **match)
{
struct ipt_set_info_match *myinfo =
(struct ipt_set_info_match *) (*match)->data;
@@ -127,7 +127,7 @@ print_match(const char *prefix, const struct ipt_set_info *info)
/* Prints out the matchinfo. */
static void
print(const struct ipt_ip *ip,
- const struct ipt_entry_match *match, int numeric)
+ const struct xt_entry_match *match, int numeric)
{
struct ipt_set_info_match *info =
(struct ipt_set_info_match *) match->data;
@@ -137,7 +137,7 @@ print(const struct ipt_ip *ip,
/* Saves the matchinfo in parsable form to stdout. */
static void save(const struct ipt_ip *ip,
- const struct ipt_entry_match *match)
+ const struct xt_entry_match *match)
{
struct ipt_set_info_match *info =
(struct ipt_set_info_match *) match->data;