From cfa440b0da256900d4a90c198b0d06e23a87abe4 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 22 Feb 2008 11:51:35 -0800 Subject: [PATCH] missing dport in f_u32 output Small typo from last change to decode filters. Should print dport not port. --- tc/f_u32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tc/f_u32.c b/tc/f_u32.c index 9bc4bb5d..7e4d56ca 100644 --- a/tc/f_u32.c +++ b/tc/f_u32.c @@ -838,7 +838,7 @@ static void show_key(FILE *f, const struct tc_u32_key *key) ntohl(key->val) >> 16); return; case 0xffffffff: - fprintf(f, "\n sport %u, port %u", + fprintf(f, "\n sport %u, dport %u", ntohl(key->val) & 0xffff, ntohl(key->val) >> 16);