diff options
Diffstat (limited to 'tests/net_test/sock_diag.py')
-rwxr-xr-x | tests/net_test/sock_diag.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/net_test/sock_diag.py b/tests/net_test/sock_diag.py index 58faccfb..5fa7a7d5 100755 --- a/tests/net_test/sock_diag.py +++ b/tests/net_test/sock_diag.py @@ -226,7 +226,7 @@ class SockDiag(netlink.NetlinkSocket): def GetSockDiag(self, req): """Gets an InetDiagMsg from the kernel for the specified request.""" self._SendNlRequest(SOCK_DIAG_BY_FAMILY, req.Pack(), netlink.NLM_F_REQUEST) - return self._GetMsg(InetDiagMsg) + return self._GetMsg(InetDiagMsg)[0] @staticmethod def DiagReqFromDiagMsg(d, protocol): |