commit | cfa440b0da256900d4a90c198b0d06e23a87abe4 | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | Fri Feb 22 11:51:35 2008 -0800 |
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | Fri Feb 22 11:51:35 2008 -0800 |
tree | 3f2f3cb15abf4e4a8b3e247fba91c68c496f63f6 | |
parent | 4c9ffc2f8cc9e4c4851b8b74ce656eb23fa17b72 [diff] |
missing dport in f_u32 output Small typo from last change to decode filters. Should print dport not port.
diff --git a/tc/f_u32.c b/tc/f_u32.c index 9bc4bb5..7e4d56c 100644 --- a/tc/f_u32.c +++ b/tc/f_u32.c
@@ -838,7 +838,7 @@ 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);