From 1a4d6af42f4892f142838a838c94f64d5040ce72 Mon Sep 17 00:00:00 2001 From: "/C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org" Date: Tue, 24 Jul 2007 05:57:28 +0000 Subject: Replaces ipt_entry_* with xt_entry_* in matches/targets --- extensions/libipt_policy.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'extensions/libipt_policy.c') diff --git a/extensions/libipt_policy.c b/extensions/libipt_policy.c index 681995a..06393fe 100644 --- a/extensions/libipt_policy.c +++ b/extensions/libipt_policy.c @@ -93,7 +93,7 @@ static struct option opts[] = { } }; -static void init(struct ipt_entry_match *m, unsigned int *nfcache) +static void init(struct xt_entry_match *m, unsigned int *nfcache) { *nfcache |= NFC_UNKNOWN; } @@ -128,7 +128,7 @@ static int parse_mode(char *s) 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_policy_info *info = (void *)(*match)->data; struct ipt_policy_elem *e = &info->pol[info->len]; @@ -388,7 +388,7 @@ static void print_flags(char *prefix, const struct ipt_policy_info *info) } static void print(const struct ipt_ip *ip, - const struct ipt_entry_match *match, + const struct xt_entry_match *match, int numeric) { const struct ipt_policy_info *info = (void *)match->data; @@ -403,7 +403,7 @@ static void print(const struct ipt_ip *ip, } } -static void save(const struct ipt_ip *ip, const struct ipt_entry_match *match) +static void save(const struct ipt_ip *ip, const struct xt_entry_match *match) { const struct ipt_policy_info *info = (void *)match->data; unsigned int i; -- cgit v1.2.3