Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9958483

Browse files
authoredNov 16, 2021
Update python2port.py
1 parent b72fe80 commit 9958483

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎python2port.py

+1
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ def checkHost(ip, port):
120120
if ping == True:
121121
# Collect ping statistics only when the host is up
122122
lst.append(pingStatistics(ip))
123+
else: lst.append(['--', '--', '-', '--', '100%'])
123124
""" lst.append(ping)
124125
lst.append(ipup) """
125126
return lst

0 commit comments

Comments
 (0)
Please sign in to comment.