git.99rst.org
/
stevenblack-hosts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
71213ce
)
[FIX] traceroute and netstat display anomaly
author
Tomasz Przybył
<redacted>
Thu, 13 Apr 2017 17:21:10 +0000
(19:21 +0200)
committer
GitHub
<redacted>
Thu, 13 Apr 2017 17:21:10 +0000
(19:21 +0200)
Based on hosts file generated by Uncheky app
@StevenBlack
updateHostsFile.py
patch
|
blob
|
history
diff --git
a/updateHostsFile.py
b/updateHostsFile.py
index 952673b6cae5f950f15e7e50081265ae74bdcd40..509da5ddb454a32181e086f655568ee551e1628e 100644
(file)
--- a/
updateHostsFile.py
+++ b/
updateHostsFile.py
@@
-410,6
+410,7
@@
def writeOpeningHeader(finalFile):
writeData(finalFile, "255.255.255.255 broadcasthost\n")
writeData(finalFile, "::1 localhost\n")
writeData(finalFile, "fe80::1%lo0 localhost\n")
+ writeData(finalFile, "0.0.0.0 0.0.0.0\n")
if platform.system() == "Linux":
writeData(finalFile, "127.0.1.1 " + socket.gethostname() + "\n")
writeData(finalFile, "\n")
git clone https://git.99rst.org/PROJECT