Browse Source

go.net/ipv4: fix typo

R=dave
CC=golang-dev
https://golang.org/cl/27420043
Mikio Hara 12 years ago
parent
commit
867c418fdf
1 changed files with 1 additions and 1 deletions
  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
 //	Checksum      = platform sets an appropriate value if Checksum is zero
 //	Src           = platform sets an appropriate value if Src is nil
 //	Src           = platform sets an appropriate value if Src is nil
 //	Dst           = <must be specified>
 //	Dst           = <must be specified>
-//	h.Options     = optional
+//	Options       = optional
 func (c *packetHandler) WriteTo(h *Header, p []byte, cm *ControlMessage) error {
 func (c *packetHandler) WriteTo(h *Header, p []byte, cm *ControlMessage) error {
 	if !c.ok() {
 	if !c.ok() {
 		return syscall.EINVAL
 		return syscall.EINVAL