Most other extensions use strtoul (by means of xtables_strtoui)
and would abide by the standard convention of hex/octal prefixes
0x/0, and decimal otherwise, but CLASSIFY is an exception.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
{
printf(
"CLASSIFY target options:\n"
-" --set-class [MAJOR:MINOR] Set skb->priority value\n");
+"--set-class MAJOR:MINOR Set skb->priority value (always hexadecimal!)\n");
}
static const struct option CLASSIFY_opts[] = {
This module allows you to set the skb\->priority value (and thus classify the packet into a specific CBQ class).
.TP
\fB\-\-set\-class\fP \fImajor\fP\fB:\fP\fIminor\fP
-Set the major and minor class value.
+Set the major and minor class value. The values are always interpreted as
+hexadecimal even if no 0x prefix is given.