diff options
author | Harald Welte <laforge@gnumonks.org> | 2002-08-07 09:55:37 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2002-08-07 09:55:37 +0000 |
commit | a49ded0aced6e22e4fcc7a6463e0366e05550b37 (patch) | |
tree | e0cca3bbeb13fbcf74c667a43351b967c54c3b42 /extensions/libipt_DSCP.c | |
parent | ef22543936c50c57a8eab412a93a4d07d63e0e83 (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.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/libipt_DSCP.c b/extensions/libipt_DSCP.c index 13246633..f3bf0791 100644 --- a/extensions/libipt_DSCP.c +++ b/extensions/libipt_DSCP.c @@ -33,8 +33,8 @@ static void help(void) " --set-dscp value Set DSCP field in packet header to value\n" " This value can be in decimal (ex: 32)\n" " or in hex (ex: 0x20)\n" -" --set-class class Set the DSCP field in packet header to the value\n" -" represented by the DiffServ class value.\n" +" --set-dscp-class class Set the DSCP field in packet header to the\n" +" value represented by the DiffServ class value.\n" " This class may be EF,BE or any of the CSxx " " or AFxx classes.\n" "\n" @@ -44,7 +44,7 @@ static void help(void) static struct option opts[] = { { "set-dscp", 1, 0, 'F' }, - { "set-class", 1, 0, 'G' }, + { "set-dscp-class", 1, 0, 'G' }, { 0 } }; @@ -95,7 +95,7 @@ parse(int c, char **argv, int invert, unsigned int *flags, case 'G': if (*flags) exit_error(PARAMETER_PROBLEM, - "DSCP target: Only use --set-class ONCE!"); + "DSCP target: Only use --set-dscp-class ONCE!"); parse_class(optarg, dinfo); *flags = 1; break; |