Skip to content

Commit 5c24832

Browse files
yannkminux
authored andcommitted
syscall: fix ParseRoutingSockaddr name in docs
Change-Id: I3870150fc8e713f6164371299c029b31f18f250a Reviewed-on: https://go-review.googlesource.com/17426 Reviewed-by: Minux Ma <[email protected]>
1 parent c6d660a commit 5c24832

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/syscall/route_bsd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ func ParseRoutingMessage(b []byte) (msgs []RoutingMessage, err error) {
339339
return msgs, nil
340340
}
341341

342-
// ParseRoutingMessage parses msg's payload as raw sockaddrs and
342+
// ParseRoutingSockaddr parses msg's payload as raw sockaddrs and
343343
// returns the slice containing the Sockaddr interfaces.
344344
func ParseRoutingSockaddr(msg RoutingMessage) ([]Sockaddr, error) {
345345
sas, err := msg.sockaddr()

0 commit comments

Comments
 (0)