From c9ccba543b52cb443f110670420967ac6a41c302 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 4 Apr 2009 18:43:15 +0200 Subject: CLASSIFY: document non-standard interpretation behavior 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 --- extensions/libxt_CLASSIFY.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/libxt_CLASSIFY.c') diff --git a/extensions/libxt_CLASSIFY.c b/extensions/libxt_CLASSIFY.c index 119922d0..7db2e4cd 100644 --- a/extensions/libxt_CLASSIFY.c +++ b/extensions/libxt_CLASSIFY.c @@ -15,7 +15,7 @@ CLASSIFY_help(void) { 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[] = { -- cgit v1.2.3