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 a274894 commit 9b49eb9Copy full SHA for 9b49eb9
webware/MiscUtils/Tests/TestFuncs.py
@@ -93,7 +93,7 @@ def testLocalIP(self):
93
94
def assertLocal(ip):
95
self.assertTrue(
96
- ip == thisIp or ip.startswith(('127.', '192.168.'))
+ ip == thisIp or ip.startswith(('127.', '169.254', '192.168.'))
97
or '172.16.' <= ip <= '172.31.')
98
99
assertLocal(localIP(remote=None, useCache=None))
0 commit comments