mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-08 02:37:39 +02:00
Apply suggestions from code review
Hopefully I can fix up my breakage...
This commit is contained in:
@@ -2173,8 +2173,7 @@ class sock(objects.StructType):
|
||||
return linux_constants.SOCK_FAMILY[family_idx]
|
||||
|
||||
def get_type(self):
|
||||
return linux_constants.
|
||||
.get(self.sk_type, "")
|
||||
return linux_constants.SOCK_TYPES.get(self.sk_type, "")
|
||||
|
||||
def get_inode(self):
|
||||
if not self.sk_socket:
|
||||
|
||||
Reference in New Issue
Block a user