Sebastiaan van Stijn
|
1cd937a867
libnetwork/etchosts: format code with gofumpt
|
3 years ago |
Sebastiaan van Stijn
|
46f7c92c9a
libnetwork: use strings.Cut() and minor refactor
|
2 years ago |
Eng Zer Jun
|
c55a4ac779
refactor: move from io/ioutil to io and os package
|
3 years ago |
Derek McGowan
|
ccabedfbe3
Fix file descriptor leaks
|
9 years ago |
Santhosh Manohar
|
82f3d55fa4
Fix out of bound slice access in Delete()
|
9 years ago |
Tim Hockin
|
92af10a0fe
Extract hostname from (hostname.domainname)
|
9 years ago |
Travis Thieman
|
c6dfe4b795
Fix etchosts.Update to not target hosts with given hostname as prefix
|
9 years ago |
Alexander Morozov
|
36a8f5822c
Use simple scanner instead of regexp for etchosts.Delete
|
9 years ago |
Jana Radhakrishnan
|
cdb82dc22d
Synchronize /etc/hosts updates at file level
|
9 years ago |
Jana Radhakrishnan
|
28c2445dad
Do not update /etc/hosts for empty endpoints
|
10 years ago |
Jana Radhakrishnan
|
362568467d
Add/Delete etc hosts record support
|
10 years ago |
Alessandro Boch
|
f16db2c3ad
Remove pkg directory
|
10 years ago |