diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2008-04-15 11:48:25 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-04-15 14:01:06 +0200 |
commit | 8b7c64d6ba156a99008fcd810cba874c73294333 (patch) | |
tree | 47489e2ac7ae083087ec7f0675f1c2e5fc2b4d7a /extensions/libxt_dscp.c | |
parent | ddcb288316c942a5b8de33edd5f03318db8906b7 (diff) |
Remove old functions, constants
Diffstat (limited to 'extensions/libxt_dscp.c')
-rw-r--r-- | extensions/libxt_dscp.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/extensions/libxt_dscp.c b/extensions/libxt_dscp.c index a28af096..6aed4990 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, |