]> Cypherpunks repositories - gostls13.git/commitdiff
net: fix (*ipStackCapabilities).probe godoc
authorTobias Klauser <tklauser@distanz.ch>
Sun, 11 Apr 2021 12:33:16 +0000 (14:33 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Mon, 12 Apr 2021 05:11:59 +0000 (05:11 +0000)
Change-Id: I2e5db6e7e9a7b3c84449d16b6bc32afe1d0ffee9
Reviewed-on: https://go-review.googlesource.com/c/go/+/308991
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/ipsock_plan9.go
src/net/ipsock_posix.go

index 8e984d5e5f314d7cc1cb29697bdde4aec85cefd6..43287431c88c89ad581cff755b19ac5b96b97b59 100644 (file)
@@ -13,7 +13,7 @@ import (
        "syscall"
 )
 
-// Probe probes IPv4, IPv6 and IPv4-mapped IPv6 communication
+// probe probes IPv4, IPv6 and IPv4-mapped IPv6 communication
 // capabilities.
 //
 // Plan 9 uses IPv6 natively, see ip(3).
index 8d8a896501c07aeec46a155ef5714ff3f87de210..c51c2274015dcf8382e079bcb8ef3759d1a87f88 100644 (file)
@@ -14,13 +14,13 @@ import (
        "syscall"
 )
 
-// Probe probes IPv4, IPv6 and IPv4-mapped IPv6 communication
+// probe probes IPv4, IPv6 and IPv4-mapped IPv6 communication
 // capabilities which are controlled by the IPV6_V6ONLY socket option
 // and kernel configuration.
 //
 // Should we try to use the IPv4 socket interface if we're only
 // dealing with IPv4 sockets? As long as the host system understands
-// IPv4-mapped IPv6, it's okay to pass IPv4-mapeed IPv6 addresses to
+// IPv4-mapped IPv6, it's okay to pass IPv4-mapped IPv6 addresses to
 // the IPv6 interface. That simplifies our code and is most
 // general. Unfortunately, we need to run on kernels built without
 // IPv6 support too. So probe the kernel to figure it out.