s/net_connections/network_connections/g

This commit is contained in:
Fabio Manganiello 2023-04-22 17:18:19 +02:00
parent 374f936c1f
commit 1b048e1952
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -300,7 +300,7 @@ class SystemPlugin(SensorPlugin, EntityManager):
return NetworkInterfaceSchema().dump(self._network_info_avg())
@action
def net_connections(self, type: str = 'inet') -> List[dict]:
def network_connections(self, type: str = 'inet') -> List[dict]:
"""
Get the list of active network connections.
On MacOS this function requires root privileges.