mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-06 17:57:38 +02:00
Changing BPF_PROG_TYPE_UNSPEC constant in favor of a literal 0 and a comment.
This commit is contained in:
@@ -183,8 +183,8 @@ class SockHandlers(interfaces.configuration.VersionableInterface):
|
||||
if not bpfprog:
|
||||
return
|
||||
|
||||
BPF_PROG_TYPE_UNSPEC = 0
|
||||
if bpfprog.type > BPF_PROG_TYPE_UNSPEC:
|
||||
# BPF_PROG_TYPE_UNSPEC = 0
|
||||
if bpfprog.type > 0:
|
||||
extended["bpf_filter_type"] = "eBPF"
|
||||
bpfprog_aux = bpfprog.aux
|
||||
if bpfprog_aux:
|
||||
|
||||
Reference in New Issue
Block a user