Skip to content
Snippets Groups Projects
Commit 2c10a8e6 authored by lantz's avatar lantz
Browse files

Merge pull request #376 from cdburkard/patches/pingOutput

if we do not receive a ping and cannot parse output, return errorTuple
parents e4c4891a 00cbb348
No related branches found
No related tags found
No related merge requests found
......@@ -603,6 +603,8 @@ def _parsePingFull( pingOutput ):
r += r'(\d+\.\d+)/(\d+\.\d+)/(\d+\.\d+)/(\d+\.\d+) ms'
m = re.search( r, pingOutput )
if m is None:
if received == 0:
return errorTuple
error( '*** Error: could not parse ping output: %s\n' %
pingOutput )
return errorTuple
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment