Replaces ipt_entry_* with xt_entry_* in matches/targets
diff --git a/extensions/libipt_string.c b/extensions/libipt_string.c
index 266b3e5..82a0f7c 100644
--- a/extensions/libipt_string.c
+++ b/extensions/libipt_string.c
@@ -54,7 +54,7 @@
};
static void
-init(struct ipt_entry_match *m, unsigned int *nfcache)
+init(struct xt_entry_match *m, unsigned int *nfcache)
{
struct ipt_string_info *i = (struct ipt_string_info *) m->data;
@@ -172,7 +172,7 @@
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_string_info *stringinfo = (struct ipt_string_info *)(*match)->data;
@@ -290,7 +290,7 @@
/* 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)
{
const struct ipt_string_info *info =
@@ -313,7 +313,7 @@
/* Saves the union ipt_matchinfo in parseable form to stdout. */
static void
-save(const struct ipt_ip *ip, const struct ipt_entry_match *match)
+save(const struct ipt_ip *ip, const struct xt_entry_match *match)
{
const struct ipt_string_info *info =
(const struct ipt_string_info*) match->data;