Replaces ipt_entry_* with xt_entry_* in matches/targets
diff --git a/extensions/libipt_pkttype.c b/extensions/libipt_pkttype.c
index ea6439e..9f09419 100644
--- a/extensions/libipt_pkttype.c
+++ b/extensions/libipt_pkttype.c
@@ -88,7 +88,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_pkttype_info *info = (struct ipt_pkttype_info *)(*match)->data;
@@ -131,7 +131,7 @@
printf("%d ", info->pkttype); /* in case we didn't find an entry in named-packtes */
}
-static void print(const struct ipt_ip *ip, const struct ipt_entry_match *match, int numeric)
+static void print(const struct ipt_ip *ip, const struct xt_entry_match *match, int numeric)
{
struct ipt_pkttype_info *info = (struct ipt_pkttype_info *)match->data;
@@ -139,7 +139,7 @@
print_pkttype(info);
}
-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)
{
struct ipt_pkttype_info *info = (struct ipt_pkttype_info *)match->data;