diff --git a/net/ping/ping.go b/net/ping/ping.go index 11c7faa..4769ee7 100644 --- a/net/ping/ping.go +++ b/net/ping/ping.go @@ -39,7 +39,7 @@ func (o *PingOptions) Validate() { o.Interval = 1 } if 0 >= o.Deadline { - o.Deadline = 0 + o.Deadline = 1 } }