Skip to content

Commit ee6e0a5

Browse files
dmitshurgopherbot
authored andcommitted
internal/routebsd: fix typo in sockAddrLen identifer name
For #70528. Change-Id: I0db75cb998aeb299676384fe59bf241db18ebc5c Reviewed-on: https://go-review.googlesource.com/c/go/+/646975 Reviewed-by: Cherry Mui <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent 721f5ca commit ee6e0a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/internal/routebsd/address.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ func parseInetAddr(af int, b []byte) (Addr, error) {
133133
}
134134
var ip [ipv6Len]byte
135135
sockAddrLen := int(b[0])
136-
if sockaddrLen != 0 {
136+
if sockAddrLen != 0 {
137137
n := off6 + ipv6Len
138138
if sockAddrLen < n {
139139
n = sockAddrLen

0 commit comments

Comments
 (0)