summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com>2023-05-17 09:16:27 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2023-07-04 15:56:30 +0200
commit469159ecf7d108dc1d44f8789dedbb463b7bd3a6 (patch)
tree0c9829db87017f32d658cba0808ee6cb77df436f
parent6e755e132ac18b44625baae0b7ea7ced572d7ff5 (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>
-rw-r--r--tun/netstack/tun.go2
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...)