monitor: nlmsg attributes are unsigned

This commit is contained in:
Denis Kenzior 2019-07-23 07:41:53 -05:00
parent d63f73adf9
commit e0eb824fe3
1 changed files with 3 additions and 3 deletions

View File

@ -6091,11 +6091,11 @@ static void print_nlmsghdr(const struct timeval *tv,
print_packet(tv, out ? '<' : '>', COLOR_YELLOW, "RTNL", str, extra_str);
print_field("Flags: %d (0x%03x)", nlmsg->nlmsg_flags,
print_field("Flags: %hu (0x%03x)", nlmsg->nlmsg_flags,
nlmsg->nlmsg_flags);
print_field("Sequence number: %d (0x%08x)",
print_field("Sequence number: %u (0x%08x)",
nlmsg->nlmsg_seq, nlmsg->nlmsg_seq);
print_field("Port ID: %d", nlmsg->nlmsg_pid);
print_field("Port ID: %u", nlmsg->nlmsg_pid);
}
static void print_nlmsg(const struct timeval *tv, const struct nlmsghdr *nlmsg)