mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-13 05:07:38 +02:00
Linux: update sockscan family check to use 'is None' rather than '== None' as per CodeQL
This commit is contained in:
@@ -257,7 +257,7 @@ class Sockscan(plugins.PluginInterface):
|
||||
|
||||
family = psock.get_family()
|
||||
# remove results with no family
|
||||
if family == None:
|
||||
if family is None:
|
||||
vollog.log(
|
||||
constants.LOGLEVEL_VVVV,
|
||||
f"Skipping socket at {hex(sock_physical_addr)} as unable to determin family.",
|
||||
|
||||
Reference in New Issue
Block a user