summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_dscp.c
diff options
context:
space:
mode:
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
commit6cd49745931f42cfe2280bf78e483035c3c5e2e6 (patch)
tree47489e2ac7ae083087ec7f0675f1c2e5fc2b4d7a /extensions/libxt_dscp.c
parentfbde4d9d1119908b37c9bb95886294fb6e2493e0 (diff)
[PATCH 08/10] Remove old functions, constants
Diffstat (limited to 'extensions/libxt_dscp.c')
-rw-r--r--extensions/libxt_dscp.c10
1 files changed, 4 insertions, 6 deletions
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,