diff options
author | Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> | 2023-05-17 09:16:27 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2023-07-04 15:56:30 +0200 |
commit | 469159ecf7d108dc1d44f8789dedbb463b7bd3a6 (patch) | |
tree | 0c9829db87017f32d658cba0808ee6cb77df436f /tun | |
parent | 6e755e132ac18b44625baae0b7ea7ced572d7ff5 (diff) |
netstack: fix typo
Signed-off-by: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tun')
-rw-r--r-- | tun/netstack/tun.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tun/netstack/tun.go b/tun/netstack/tun.go index fa15f53..596cfcd 100644 --- a/tun/netstack/tun.go +++ b/tun/netstack/tun.go @@ -912,7 +912,7 @@ func (tnet *Net) LookupContextHost(ctx context.Context, host string) ([]string, } } } - // We don't do RFC6724. Instead just put V6 addresess first if an IPv6 address is enabled + // We don't do RFC6724. Instead just put V6 addresses first if an IPv6 address is enabled var addrs []netip.Addr if tnet.hasV6 { addrs = append(addrsV6, addrsV4...) |