Parcourir la source

go.net/ipv4: fix typo

R=dave
CC=golang-dev
https://golang.org/cl/27420043
Mikio Hara il y a 12 ans
Parent
commit
867c418fdf
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      ipv4/packet.go

+ 1 - 1
ipv4/packet.go

@@ -72,7 +72,7 @@ func slicePacket(b []byte) (h, p []byte, err error) {
 //	Checksum      = platform sets an appropriate value if Checksum is zero
 //	Src           = platform sets an appropriate value if Src is nil
 //	Dst           = <must be specified>
-//	h.Options     = optional
+//	Options       = optional
 func (c *packetHandler) WriteTo(h *Header, p []byte, cm *ControlMessage) error {
 	if !c.ok() {
 		return syscall.EINVAL