From e690c8c9816c477797cabd4a6ed0de847be8eb38 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:58:56 +0000 Subject: Replaces ip6t_entry_* with xt_entry_* in matches/targets --- extensions/libip6t_policy.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'extensions/libip6t_policy.c') diff --git a/extensions/libip6t_policy.c b/extensions/libip6t_policy.c index 2f4453e..f5c6487 100644 --- a/extensions/libip6t_policy.c +++ b/extensions/libip6t_policy.c @@ -133,7 +133,7 @@ extern void parse_hostnetworkmask(const char *name, struct in6_addr **addrpp, /* End duplicated code from ip6tables.c */ -static void init(struct ip6t_entry_match *m, unsigned int *nfcache) +static void init(struct xt_entry_match *m, unsigned int *nfcache) { *nfcache |= NFC_UNKNOWN; } @@ -168,7 +168,7 @@ static int parse_mode(char *s) static int parse(int c, char **argv, int invert, unsigned int *flags, const struct ip6t_entry *entry, unsigned int *nfcache, - struct ip6t_entry_match **match) + struct xt_entry_match **match) { struct ip6t_policy_info *info = (void *)(*match)->data; struct ip6t_policy_elem *e = &info->pol[info->len]; @@ -428,7 +428,7 @@ static void print_flags(char *prefix, const struct ip6t_policy_info *info) } static void print(const struct ip6t_ip6 *ip, - const struct ip6t_entry_match *match, + const struct xt_entry_match *match, int numeric) { const struct ip6t_policy_info *info = (void *)match->data; @@ -445,7 +445,7 @@ static void print(const struct ip6t_ip6 *ip, printf("\n"); } -static void save(const struct ip6t_ip6 *ip, const struct ip6t_entry_match *match) +static void save(const struct ip6t_ip6 *ip, const struct xt_entry_match *match) { const struct ip6t_policy_info *info = (void *)match->data; unsigned int i; -- cgit v1.2.3