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_dccp.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'extensions/libxt_dccp.c') diff --git a/extensions/libxt_dccp.c b/extensions/libxt_dccp.c index 467a695c..c368ba48 100644 --- a/extensions/libxt_dccp.c +++ b/extensions/libxt_dccp.c @@ -35,13 +35,11 @@ static void dccp_init(struct xt_entry_match *m) static void dccp_help(void) { printf( -"DCCP match v%s options\n" +"dccp match options\n" " --source-port [!] port[:port] match source port(s)\n" " --sport ...\n" " --destination-port [!] port[:port] match destination port(s)\n" -" --dport ...\n" -, - IPTABLES_VERSION); +" --dport ...\n"); } static const struct option dccp_opts[] = { @@ -342,7 +340,7 @@ static void dccp_save(const void *ip, const struct xt_entry_match *match) static struct xtables_match dccp_match = { .name = "dccp", .family = AF_INET, - .version = IPTABLES_VERSION, + .version = XTABLES_VERSION, .size = XT_ALIGN(sizeof(struct xt_dccp_info)), .userspacesize = XT_ALIGN(sizeof(struct xt_dccp_info)), .help = dccp_help, @@ -356,7 +354,7 @@ static struct xtables_match dccp_match = { static struct xtables_match dccp_match6 = { .name = "dccp", .family = AF_INET6, - .version = IPTABLES_VERSION, + .version = XTABLES_VERSION, .size = XT_ALIGN(sizeof(struct xt_dccp_info)), .userspacesize = XT_ALIGN(sizeof(struct xt_dccp_info)), .help = dccp_help, -- cgit v1.2.3