diff --git a/ping.go b/ping.go index 32ef8f2..4c2d853 100644 --- a/ping.go +++ b/ping.go @@ -93,9 +93,6 @@ func NewPinger(addr string) (*Pinger, error) { id: rand.Intn(0xffff), network: "udp", ipv4: ipv4, - size: timeSliceLength, - network: "udp", - ipv4: ipv4, Size: timeSliceLength, done: make(chan bool),