From 1a3a18f2b2818000c56b66d52d65f5285072209e Mon Sep 17 00:00:00 2001 From: crusader Date: Mon, 17 Sep 2018 20:27:04 +0900 Subject: [PATCH] ing --- net/ping/ping.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } }