mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-13 13:17:38 +02:00
Manage net_device flag default value & error
This commit is contained in:
@@ -1279,7 +1279,7 @@ class net_device(objects.StructType):
|
||||
|
||||
def _get_net_device_flag_value(self, name):
|
||||
"""Return the net_device flag value based on the flag name"""
|
||||
return self._get_flag_choices()[name]
|
||||
return self._get_flag_choices().get(name, UnparsableValue())
|
||||
|
||||
def get_flag_names(self) -> List[str]:
|
||||
"""Return the net_device flags as a list of strings
|
||||
|
||||
Reference in New Issue
Block a user