Fix typo in networkUp() when checking for non-loopback interfaces

This commit is contained in:
Greg Neagle
2012-05-07 11:33:42 -07:00
parent 58bada0a5b
commit 3fe3450d7d
+1 -1
View File
@@ -92,7 +92,7 @@ def networkUp():
if 'inet' in line:
parts = line.split()
addr = parts[1]
if not addr in ['127.0.0.1', '0.0.0.0.0']:
if not addr in ['127.0.0.1', '0.0.0.0']:
return True
return False