summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_dscp.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2002-08-07 09:55:37 +0000
committerHarald Welte <laforge@gnumonks.org>2002-08-07 09:55:37 +0000
commita49ded0aced6e22e4fcc7a6463e0366e05550b37 (patch)
treee0cca3bbeb13fbcf74c667a43351b967c54c3b42 /extensions/libipt_dscp.c
parentef22543936c50c57a8eab412a93a4d07d63e0e83 (diff)
rename '--class' into '--dscp-class' and '--set-class' into '--set-dscp-class'
in order not to waste the namespace
Diffstat (limited to 'extensions/libipt_dscp.c')
-rw-r--r--extensions/libipt_dscp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/libipt_dscp.c b/extensions/libipt_dscp.c
index 7718112c..1d61da89 100644
--- a/extensions/libipt_dscp.c
+++ b/extensions/libipt_dscp.c
@@ -36,7 +36,7 @@ static void help(void)
"[!] --dscp value Match DSCP codepoint with numerical value\n"
" This value can be in decimal (ex: 32)\n"
" or in hex (ex: 0x20)\n"
-"[!] --class name Match the DiffServ class. This value may\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"
@@ -46,7 +46,7 @@ static void help(void)
static struct option opts[] = {
{ "dscp", 1, 0, 'F' },
- { "class", 1, 0, 'G' },
+ { "dscp-class", 1, 0, 'G' },
{ 0 }
};
@@ -102,7 +102,7 @@ parse(int c, char **argv, int invert, unsigned int *flags,
case 'G':
if (*flags)
exit_error(PARAMETER_PROBLEM,
- "DSCP match: Only use --class ONCE!");
+ "DSCP match: Only use --dscp-class ONCE!");
check_inverse(optarg, &invert, &optind, 0);
parse_class(argv[optind - 1], dinfo);
if (invert)