From 6cd49745931f42cfe2280bf78e483035c3c5e2e6 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net" Date: Tue, 15 Apr 2008 12:01:06 +0000 Subject: [PATCH 08/10] Remove old functions, constants --- extensions/libxt_dscp.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'extensions/libxt_dscp.c') diff --git a/extensions/libxt_dscp.c b/extensions/libxt_dscp.c index a28af09..6aed499 100644 --- a/extensions/libxt_dscp.c +++ b/extensions/libxt_dscp.c @@ -27,16 +27,14 @@ static void dscp_help(void) { printf( -"DSCP match v%s options\n" +"dscp match options\n" "[!] --dscp value Match DSCP codepoint with numerical value\n" " This value can be in decimal (ex: 32)\n" " or in hex (ex: 0x20)\n" "[!] --dscp-class name Match the DiffServ class. This value may\n" " be any of the BE,EF, AFxx or CSx classes\n" "\n" -" These two options are mutually exclusive !\n" - , IPTABLES_VERSION -); +" These two options are mutually exclusive !\n"); } static const struct option dscp_opts[] = { @@ -149,7 +147,7 @@ static void dscp_save(const void *ip, const struct xt_entry_match *match) static struct xtables_match dscp_match = { .family = AF_INET, .name = "dscp", - .version = IPTABLES_VERSION, + .version = XTABLES_VERSION, .size = XT_ALIGN(sizeof(struct xt_dscp_info)), .userspacesize = XT_ALIGN(sizeof(struct xt_dscp_info)), .help = dscp_help, @@ -163,7 +161,7 @@ static struct xtables_match dscp_match = { static struct xtables_match dscp_match6 = { .family = AF_INET6, .name = "dscp", - .version = IPTABLES_VERSION, + .version = XTABLES_VERSION, .size = XT_ALIGN(sizeof(struct xt_dscp_info)), .userspacesize = XT_ALIGN(sizeof(struct xt_dscp_info)), .help = dscp_help, -- cgit v1.2.3