linux: netfilter plugin: Enhance docstring to provide a clearer explanation of 'hooked'

This commit is contained in:
Gustavo Moreira
2024-11-15 11:31:30 +11:00
parent 094cdf18f1
commit bee3f001b6
@@ -174,7 +174,7 @@ class AbstractNetfilter(ABC):
priority [int]: Priority
hook_ops_hook [int]: Hook address
module_name [str]: Linux kernel module name
hooked [bool]: hooked?
hooked [bool]: "True" if the network stack has been hijacked
"""
for netns, net in self.get_net_namespaces():
for proto_idx, proto_name, hook_idx, hook_name in self._proto_hook_loop():