Update ping.py (#7944)
This commit is contained in:
parent
790610525b
commit
8a4e993183
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class Host(object):
|
|||
def update(self, see):
|
||||
"""Update device state by sending one or more ping messages."""
|
||||
failed = 0
|
||||
while failed < self._count: # check more times if host in unreachable
|
||||
while failed < self._count: # check more times if host is unreachable
|
||||
if self.ping():
|
||||
see(dev_id=self.dev_id, source_type=SOURCE_TYPE_ROUTER)
|
||||
return True
|
||||
|
|
Loading…
Add table
Reference in a new issue