# std.net: Fix IPv6 address parsing for single digit · gitcafe/zig

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

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

Visibility: public

Requested revision: 8976ad7ecbd6a0c70749e3bef9c508d0bfde02d2

Requested commit: 8976ad7ecbd6a0c70749e3bef9c508d0bfde02d2

Commit: 8976ad7ecbd6a0c70749e3bef9c508d0bfde02d2

Tree: 785a2a299ab568bbd563f7991ca333d9e229cc73

Author: Luis Cáceres

Committer: Veikka Tuominen

## Message

```
std.net: Fix IPv6 address parsing for single digit

This fixes the case where IPv6 address parsing incorrectly succeeded on
input such as `1`, which now returns error.Incomplete.

```

## Parents

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

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