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_udp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'extensions/libipt_udp.c') diff --git a/extensions/libipt_udp.c b/extensions/libipt_udp.c index 7f461d8..0d7cb97 100644 --- a/extensions/libipt_udp.c +++ b/extensions/libipt_udp.c @@ -55,7 +55,7 @@ parse_udp_ports(const char *portstring, u_int16_t *ports) /* Initialize the match. */ static void -init(struct ipt_entry_match *m, unsigned int *nfcache) +init(struct xt_entry_match *m, unsigned int *nfcache) { struct ipt_udp *udpinfo = (struct ipt_udp *)m->data; @@ -71,7 +71,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_udp *udpinfo = (struct ipt_udp *)(*match)->data; @@ -157,7 +157,7 @@ print_ports(const char *name, u_int16_t min, u_int16_t max, /* Prints out the union ipt_matchinfo. */ static void print(const struct ipt_ip *ip, - const struct ipt_entry_match *match, int numeric) + const struct xt_entry_match *match, int numeric) { const struct ipt_udp *udp = (struct ipt_udp *)match->data; @@ -174,7 +174,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) { const struct ipt_udp *udpinfo = (struct ipt_udp *)match->data; -- cgit v1.2.3