diff --git a/socketutils.c b/socketutils.c index 38b864cd..b6b12c76 100644 --- a/socketutils.c +++ b/socketutils.c @@ -363,8 +363,7 @@ netlink_send_query(struct tcb *tcp, const int fd, const unsigned long inode) }, .ndr = { .sdiag_family = AF_NETLINK, - .sdiag_protocol = NDIAG_PROTO_ALL, - .ndiag_show = NDIAG_SHOW_MEMINFO + .sdiag_protocol = NDIAG_PROTO_ALL } }; return send_query(tcp, fd, &req, sizeof(req)); diff --git a/tests/netlink_netlink_diag.c b/tests/netlink_netlink_diag.c index 855e404e..d4244337 100644 --- a/tests/netlink_netlink_diag.c +++ b/tests/netlink_netlink_diag.c @@ -55,8 +55,7 @@ send_query(const int fd) }, .ndr = { .sdiag_family = AF_NETLINK, - .sdiag_protocol = NDIAG_PROTO_ALL, - .ndiag_show = NDIAG_SHOW_MEMINFO + .sdiag_protocol = NDIAG_PROTO_ALL } }; struct iovec iov = {