forked from platypush/platypush
s/net_connections/network_connections/g
This commit is contained in:
parent
374f936c1f
commit
1b048e1952
1 changed files with 1 additions and 1 deletions
|
@ -300,7 +300,7 @@ class SystemPlugin(SensorPlugin, EntityManager):
|
||||||
return NetworkInterfaceSchema().dump(self._network_info_avg())
|
return NetworkInterfaceSchema().dump(self._network_info_avg())
|
||||||
|
|
||||||
@action
|
@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.
|
Get the list of active network connections.
|
||||||
On MacOS this function requires root privileges.
|
On MacOS this function requires root privileges.
|
||||||
|
|
Loading…
Reference in a new issue