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
1 changed files with 1 additions and 1 deletions

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);