mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-27 12:04:50 +02:00
socket is no longer imported in this file. Remove the underscore
This commit is contained in:
@@ -310,13 +310,13 @@ class Sockstat(plugins.PluginInterface):
|
||||
continue
|
||||
|
||||
socket_alloc = linux.LinuxUtilities.container_of(d_inode, "socket_alloc", "vfs_inode", vmlinux)
|
||||
_socket = socket_alloc.socket
|
||||
socket = socket_alloc.socket
|
||||
|
||||
vfs_inode = socket_alloc.vfs_inode
|
||||
if not (_socket and vfs_inode):
|
||||
if not (socket and vfs_inode):
|
||||
continue
|
||||
|
||||
sock = _socket.sk.dereference()
|
||||
sock = socket.sk.dereference()
|
||||
|
||||
sock_type = sock.type
|
||||
family = sock.family
|
||||
|
||||
Reference in New Issue
Block a user