We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d306c6 commit efd8263Copy full SHA for efd8263
core/daemon.py
@@ -11,7 +11,8 @@
11
Session = None
12
13
def isLocalIP(ip):
14
- return (ip.startswith("192.168.") or ip.startswith("172.16.") or ip.startswith("10.") or ip.startswith("127."))
+ return (ip.startswith("192.168.") or ip.startswith("172.16.") or ip.startswith("10.") or ip.startswith("127.")
15
+ or ip.startswith("::1") or ip.startswith("fe80:"))
16
17
def updateIPInfo():
18
#print("Updating IP Info")
0 commit comments