1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-21 00:19:42 +02:00

add multipath condition for osx detection

This commit is contained in:
Kelly Brazil
2020-05-20 17:31:51 -07:00
parent 2867593e7a
commit e5d561baee

View File

@ -432,6 +432,7 @@ def parse(data, raw=False, quiet=False):
# is this from OSX? # is this from OSX?
if cleandata[0] == 'Active Internet connections' \ if cleandata[0] == 'Active Internet connections' \
or cleandata[0] == 'Active Internet connections (including servers)' \ or cleandata[0] == 'Active Internet connections (including servers)' \
or cleandata[0] == 'Active Multipath Internet connections' \
or cleandata[0] == 'Active LOCAL (UNIX) domain sockets' \ or cleandata[0] == 'Active LOCAL (UNIX) domain sockets' \
or cleandata[0] == 'Registered kernel control modules' \ or cleandata[0] == 'Registered kernel control modules' \
or cleandata[0] == 'Active kernel event sockets' \ or cleandata[0] == 'Active kernel event sockets' \