diff options
Diffstat (limited to 'src/pkg/net/hosts.go')
-rw-r--r-- | src/pkg/net/hosts.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pkg/net/hosts.go b/src/pkg/net/hosts.go index 266ce3f37..006352b17 100644 --- a/src/pkg/net/hosts.go +++ b/src/pkg/net/hosts.go @@ -44,8 +44,7 @@ func readHosts() { } for i := 1; i < len(f); i++ { h := f[i] - old, _ := hs[h] - hs[h] = appendHost(old, f[0]) + hs[h] = appendHost(hs[h], f[0]) } } // Update the data cache. |