mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-26 02:19:26 +01:00
monitor: Pretty-print family for RTM_*ROUTE messages
This commit is contained in:
parent
ef7d33ee86
commit
5ec8a9f116
@ -6949,7 +6949,7 @@ static void print_rtmsg(const struct rtmsg *msg)
|
|||||||
};
|
};
|
||||||
char str[256];
|
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 Destination Len: %hhu", msg->rtm_dst_len);
|
||||||
print_field("RTM Source Len: %hhu", msg->rtm_src_len);
|
print_field("RTM Source Len: %hhu", msg->rtm_src_len);
|
||||||
print_field("RTM TOS Field: %hhu", msg->rtm_tos);
|
print_field("RTM TOS Field: %hhu", msg->rtm_tos);
|
||||||
|
Loading…
Reference in New Issue
Block a user