3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-04 10:29:03 +02:00

monitor: Pretty-print family for RTM_*ROUTE messages

This commit is contained in:
Denis Kenzior 2020-11-04 13:33:58 -06:00
parent ef7d33ee86
commit 5ec8a9f116

View File

@ -6949,7 +6949,7 @@ static void print_rtmsg(const struct rtmsg *msg)
};
char str[256];
print_field("RTM Family: %hhu", msg->rtm_family);
print_field("RTM Family: %s", family_to_string(msg->rtm_family));
print_field("RTM Destination Len: %hhu", msg->rtm_dst_len);
print_field("RTM Source Len: %hhu", msg->rtm_src_len);
print_field("RTM TOS Field: %hhu", msg->rtm_tos);