We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16b3904 commit 30e2fa5Copy full SHA for 30e2fa5
rifc
@@ -34,7 +34,7 @@ def get_local_ips(lines):
34
for line in lines:
35
parts = re.split('\s+', line)
36
# Check if this is the correct line
37
- if parts[0] == 'ACCEPT' and parts[1] == 'all' and parts[4] == '0.0.0.0/0':
+ if parts[0] == 'ACCEPT' and parts[1] in ['all', '0'] and parts[4] == '0.0.0.0/0':
38
ip = parts[3]
39
result.append(ip)
40
0 commit comments