From 1a4d6af42f4892f142838a838c94f64d5040ce72 Mon Sep 17 00:00:00 2001 From: "/C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org" Date: Tue, 24 Jul 2007 05:57:28 +0000 Subject: Replaces ipt_entry_* with xt_entry_* in matches/targets --- extensions/libipt_length.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'extensions/libipt_length.c') diff --git a/extensions/libipt_length.c b/extensions/libipt_length.c index cfac1c5..49d91b8 100644 --- a/extensions/libipt_length.c +++ b/extensions/libipt_length.c @@ -68,7 +68,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_length_info *info = (struct ipt_length_info *)(*match)->data; @@ -116,7 +116,7 @@ print_length(struct ipt_length_info *info) /* 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("length "); @@ -125,7 +125,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) +save(const struct ipt_ip *ip, const struct xt_entry_match *match) { printf("--length "); print_length((struct ipt_length_info *)match->data); -- cgit v1.2.3