3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-29 13:59:24 +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) { switch (proto_type) {
case NETLINK_ROUTE: case NETLINK_ROUTE:
store_netlink(nlmon, tv, proto_type, nlmsg); store_netlink(nlmon, tv, proto_type, nlmsg);
nlmon_print_rtnl(nlmon, tv, nlmsg, nlmsg->nlmsg_len);
break; break;
case NETLINK_GENERIC: case NETLINK_GENERIC:
nlmon_message(nlmon, tv, tp, nlmsg); nlmon_message(nlmon, tv, tp, nlmsg);