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_mac.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'extensions/libip6t_mac.c') diff --git a/extensions/libip6t_mac.c b/extensions/libip6t_mac.c index e47f21f6..b50b0c90 100644 --- a/extensions/libip6t_mac.c +++ b/extensions/libip6t_mac.c @@ -58,7 +58,7 @@ 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_mac_info *macinfo = (struct ip6t_mac_info *)(*match)->data; @@ -99,7 +99,7 @@ static void final_check(unsigned int flags) /* Prints out the matchinfo. */ static void print(const struct ip6t_ip6 *ip, - const struct ip6t_entry_match *match, + const struct xt_entry_match *match, int numeric) { printf("MAC "); @@ -111,7 +111,7 @@ print(const struct ip6t_ip6 *ip, } /* Saves the union ip6t_matchinfo in parsable form to stdout. */ -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) { if (((struct ip6t_mac_info *)match->data)->invert) printf("! "); -- cgit v1.2.3