aboutsummaryrefslogtreecommitdiffstats
path: root/tun/netstack/tun.go
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 /tun/netstack/tun.go
parentall: adjust build tags for wasip1/wasm (diff)
downloadwireguard-go-469159ecf7d108dc1d44f8789dedbb463b7bd3a6.tar.xz
wireguard-go-469159ecf7d108dc1d44f8789dedbb463b7bd3a6.zip
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 '')
-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...)