diff options
author | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net> | 2008-04-15 12:01:06 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net> | 2008-04-15 12:01:06 +0000 |
commit | 6cd49745931f42cfe2280bf78e483035c3c5e2e6 (patch) | |
tree | 47489e2ac7ae083087ec7f0675f1c2e5fc2b4d7a /extensions/libxt_udp.c | |
parent | fbde4d9d1119908b37c9bb95886294fb6e2493e0 (diff) |
[PATCH 08/10] Remove old functions, constants
Diffstat (limited to 'extensions/libxt_udp.c')
-rw-r--r-- | extensions/libxt_udp.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/extensions/libxt_udp.c b/extensions/libxt_udp.c index 4e83ae8..9c3665a 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, |