summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_recent.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libipt_recent.c')
-rw-r--r--extensions/libipt_recent.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/libipt_recent.c b/extensions/libipt_recent.c
index 0b0ed2d1..16b4b0bd 100644
--- a/extensions/libipt_recent.c
+++ b/extensions/libipt_recent.c
@@ -68,7 +68,7 @@ IPTABLES_VERSION);
/* Initialize the match. */
static void
-init(struct ipt_entry_match *match, unsigned int *nfcache)
+init(struct xt_entry_match *match, unsigned int *nfcache)
{
struct ipt_recent_info *info = (struct ipt_recent_info *)(match)->data;
@@ -86,7 +86,7 @@ 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)
+ struct xt_entry_match **match)
{
struct ipt_recent_info *info = (struct ipt_recent_info *)(*match)->data;
switch (c) {
@@ -176,7 +176,7 @@ final_check(unsigned int flags)
/* Prints out the matchinfo. */
static void
print(const struct ipt_ip *ip,
- const struct ipt_entry_match *match,
+ const struct xt_entry_match *match,
int numeric)
{
struct ipt_recent_info *info = (struct ipt_recent_info *)match->data;
@@ -199,7 +199,7 @@ print(const struct ipt_ip *ip,
/* Saves the union ipt_matchinfo in parsable form to stdout. */
static void
-save(const struct ipt_ip *ip, const struct ipt_entry_match *match)
+save(const struct ipt_ip *ip, const struct xt_entry_match *match)
{
struct ipt_recent_info *info = (struct ipt_recent_info *)match->data;