From: Stephen Hemminger Date: Fri, 20 Apr 2018 17:04:14 +0000 (-0700) Subject: flower: use 16 bit format where possible X-Git-Tag: v4.17.0~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b01f088ee93be4a074ba7b3608dabf1fead497d;p=thirdparty%2Fiproute2.git flower: use 16 bit format where possible Should use print_hu not print_uint for 16 bit value. Signed-off-by: Stephen Hemminger --- diff --git a/tc/f_flower.c b/tc/f_flower.c index 9d4bfd2f8..ba8eb66cd 100644 --- a/tc/f_flower.c +++ b/tc/f_flower.c @@ -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,