From b85256b07a2939d712a2547bc151653eae511909 Mon Sep 17 00:00:00 2001 From: Yasuyuki KOZAKAI Date: Tue, 24 Jul 2007 05:58:56 +0000 Subject: Replaces ip6t_entry_* with xt_entry_* in matches/targets --- extensions/libip6t_REJECT.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'extensions/libip6t_REJECT.c') diff --git a/extensions/libip6t_REJECT.c b/extensions/libip6t_REJECT.c index 879716b0..5b3c7bfb 100644 --- a/extensions/libip6t_REJECT.c +++ b/extensions/libip6t_REJECT.c @@ -72,7 +72,7 @@ static struct option opts[] = { /* Allocate and initialize the target. */ static void -init(struct ip6t_entry_target *t, unsigned int *nfcache) +init(struct xt_entry_target *t, unsigned int *nfcache) { struct ip6t_reject_info *reject = (struct ip6t_reject_info *)t->data; @@ -86,7 +86,7 @@ init(struct ip6t_entry_target *t, unsigned int *nfcache) static int parse(int c, char **argv, int invert, unsigned int *flags, const struct ip6t_entry *entry, - struct ip6t_entry_target **target) + struct xt_entry_target **target) { struct ip6t_reject_info *reject = (struct ip6t_reject_info *)(*target)->data; @@ -121,7 +121,7 @@ static void final_check(unsigned int flags) /* Prints out ipt_reject_info. */ static void print(const struct ip6t_ip6 *ip, - const struct ip6t_entry_target *target, + const struct xt_entry_target *target, int numeric) { const struct ip6t_reject_info *reject @@ -137,7 +137,7 @@ print(const struct ip6t_ip6 *ip, /* Saves ipt_reject in parsable form to stdout. */ static void save(const struct ip6t_ip6 *ip, - const struct ip6t_entry_target *target) + const struct xt_entry_target *target) { const struct ip6t_reject_info *reject = (const struct ip6t_reject_info *)target->data; -- cgit v1.2.3