# Localhost is special \(\#6955\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/d15a0ec7b28d7f87b93b2a4fa627ebfebcff2a01)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: d15a0ec7b28d7f87b93b2a4fa627ebfebcff2a01

Requested commit: d15a0ec7b28d7f87b93b2a4fa627ebfebcff2a01

Commit: d15a0ec7b28d7f87b93b2a4fa627ebfebcff2a01

Tree: 657a9d640a15c9a43535f6d5d0bcc3247a155881

Author: daurnimator

Committer: Andrew Kelley

## Message

```
Localhost is special (#6955)

* std: always return loopback address when looking up localhost

* std: also return Ipv6 loopback

* std: remove commented out obsolete code
```

## Parents

- [0858d7b0df97abc409370df5094cc93f1f3532ff](https://git.cafe/gitcafe/zig/commit/0858d7b0df97abc409370df5094cc93f1f3532ff?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/d15a0ec7b28d7f87b93b2a4fa627ebfebcff2a01?format=markdown)
