summaryrefslogtreecommitdiffstats
path: root/extensions/libip6t_mac.c
diff options
context:
space:
mode:
author/C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org </C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org>2007-07-24 05:58:56 +0000
committer/C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org </C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org>2007-07-24 05:58:56 +0000
commite690c8c9816c477797cabd4a6ed0de847be8eb38 (patch)
tree27d44956a1397d149d8b5958fde0051b4f2390c0 /extensions/libip6t_mac.c
parent1a4d6af42f4892f142838a838c94f64d5040ce72 (diff)
Replaces ip6t_entry_* with xt_entry_* in matches/targets
Diffstat (limited to 'extensions/libip6t_mac.c')
-rw-r--r--extensions/libip6t_mac.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/libip6t_mac.c b/extensions/libip6t_mac.c
index e47f21f..b50b0c9 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("! ");