flower: use 16 bit format where possible
Should use print_hu not print_uint for 16 bit value. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
7cd3f08b6f
commit
0b01f088ee
|
|
@ -1234,7 +1234,7 @@ static void flower_print_port(char *name, struct rtattr *attr)
|
|||
return;
|
||||
|
||||
sprintf(namefrm,"\n %s %%u", name);
|
||||
print_uint(PRINT_ANY, name, namefrm, rta_getattr_be16(attr));
|
||||
print_hu(PRINT_ANY, name, namefrm, rta_getattr_be16(attr));
|
||||
}
|
||||
|
||||
static void flower_print_tcp_flags(char *name, struct rtattr *flags_attr,
|
||||
|
|
|
|||
Loading…
Reference in New Issue