# Enable IPv4 mapped address conversion in linux version getAddressList \(\#14916\) · gitcafe/zig

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

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

Visibility: public

Requested revision: f56f3c5824af17516bcf3a0559b98cdad20bd416

Requested commit: f56f3c5824af17516bcf3a0559b98cdad20bd416

Commit: f56f3c5824af17516bcf3a0559b98cdad20bd416

Tree: 7172d305d5d2c43b64f03351ea3c3918f783f182

Author: hequn

Committer: GitHub

## Message

```
Enable IPv4 mapped address conversion in linux version getAddressList (#14916)

It seems like the original code of setsockopt is not effective because
i catch the EINVAL branch when uncomment this code, it should call
setsockopt before the bind call.

This should fix issue #14900.

Co-authored-by: Qun He <hawkbee@qq.com>
```

## Parents

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

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