Commit cfa440b0 authored by Stephen Hemminger's avatar Stephen Hemminger

missing dport in f_u32 output

Small typo from last change to decode filters. Should print dport
not port.
parent 4c9ffc2f
...@@ -838,7 +838,7 @@ static void show_key(FILE *f, const struct tc_u32_key *key) ...@@ -838,7 +838,7 @@ static void show_key(FILE *f, const struct tc_u32_key *key)
ntohl(key->val) >> 16); ntohl(key->val) >> 16);
return; return;
case 0xffffffff: case 0xffffffff:
fprintf(f, "\n sport %u, port %u", fprintf(f, "\n sport %u, dport %u",
ntohl(key->val) & 0xffff, ntohl(key->val) & 0xffff,
ntohl(key->val) >> 16); ntohl(key->val) >> 16);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment