ping/utils_other.go
2021-02-16 21:04:19 +00:00

9 lines
139 B
Go

// +build !windows
package ping
// Returns the length of an ICMP message.
func (p *Pinger) getMessageLength() int {
return p.Size + 8
}