From 193df8ee3507f0c02762c88a16916c4ea950bd99 Mon Sep 17 00:00:00 2001 From: Yasuyuki KOZAKAI Date: Tue, 24 Jul 2007 05:57:28 +0000 Subject: Replaces ipt_entry_* with xt_entry_* in matches/targets --- extensions/libipt_mac.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'extensions/libipt_mac.c') diff --git a/extensions/libipt_mac.c b/extensions/libipt_mac.c index bac85125..a9f6194a 100644 --- a/extensions/libipt_mac.c +++ b/extensions/libipt_mac.c @@ -58,7 +58,7 @@ 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_mac_info *macinfo = (struct ipt_mac_info *)(*match)->data; @@ -99,7 +99,7 @@ static void final_check(unsigned int flags) /* Prints out the matchinfo. */ static void print(const struct ipt_ip *ip, - const struct ipt_entry_match *match, + const struct xt_entry_match *match, int numeric) { printf("MAC "); @@ -111,7 +111,7 @@ print(const struct ipt_ip *ip, } /* Saves the union ipt_matchinfo in parsable form to stdout. */ -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) { if (((struct ipt_mac_info *)match->data)->invert) printf("! "); -- cgit v1.2.3