From 8b7c64d6ba156a99008fcd810cba874c73294333 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 15 Apr 2008 11:48:25 +0200 Subject: Remove old functions, constants --- extensions/libxt_udp.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'extensions/libxt_udp.c') diff --git a/extensions/libxt_udp.c b/extensions/libxt_udp.c index 4e83ae8f..9c3665a4 100644 --- a/extensions/libxt_udp.c +++ b/extensions/libxt_udp.c @@ -11,14 +11,13 @@ static void udp_help(void) { printf( -"UDP v%s options:\n" +"udp match options:\n" " --source-port [!] port[:port]\n" " --sport ...\n" " match source port(s)\n" " --destination-port [!] port[:port]\n" " --dport ...\n" -" match destination port(s)\n", -IPTABLES_VERSION); +" match destination port(s)\n"); } static const struct option udp_opts[] = { @@ -199,7 +198,7 @@ static void udp_save(const void *ip, const struct xt_entry_match *match) static struct xtables_match udp_match = { .family = AF_INET, .name = "udp", - .version = IPTABLES_VERSION, + .version = XTABLES_VERSION, .size = XT_ALIGN(sizeof(struct xt_udp)), .userspacesize = XT_ALIGN(sizeof(struct xt_udp)), .help = udp_help, @@ -213,7 +212,7 @@ static struct xtables_match udp_match = { static struct xtables_match udp_match6 = { .family = AF_INET6, .name = "udp", - .version = IPTABLES_VERSION, + .version = XTABLES_VERSION, .size = XT_ALIGN(sizeof(struct xt_udp)), .userspacesize = XT_ALIGN(sizeof(struct xt_udp)), .help = udp_help, -- cgit v1.2.3