]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
missing dport in f_u32 output
authorStephen Hemminger <stephen.hemminger@vyatta.com>
Fri, 22 Feb 2008 19:51:35 +0000 (11:51 -0800)
committerStephen Hemminger <stephen.hemminger@vyatta.com>
Fri, 22 Feb 2008 19:51:35 +0000 (11:51 -0800)
Small typo from last change to decode filters. Should print dport
not port.

tc/f_u32.c

index 9bc4bb5de9b728e494ca21a3cc14b254c9252093..7e4d56cabb32973793fdf8fae71f8d81382297c8 100644 (file)
@@ -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);