3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-26 02:19:26 +01:00

monitor: Print RTNL traffic also when live sniffing

This commit is contained in:
Marcel Holtmann 2014-08-12 20:27:48 -07:00
parent d3f37628b0
commit 50f8c8614b

View File

@ -1847,6 +1847,7 @@ static bool nlmon_receive(struct l_io *io, void *user_data)
switch (proto_type) {
case NETLINK_ROUTE:
store_netlink(nlmon, tv, proto_type, nlmsg);
nlmon_print_rtnl(nlmon, tv, nlmsg, nlmsg->nlmsg_len);
break;
case NETLINK_GENERIC:
nlmon_message(nlmon, tv, tp, nlmsg);