From cc2310b43809ddacaa43d39a93e611d1391e8354 Mon Sep 17 00:00:00 2001 From: Jacob Gunther Date: Sun, 15 Sep 2024 15:12:01 -0500 Subject: [PATCH] Disable ping packets during status retrieval --- src/status.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status.go b/src/status.go index 5ba6abe..77db5bc 100644 --- a/src/status.go +++ b/src/status.go @@ -332,7 +332,7 @@ func FetchJavaStatus(hostname string, port uint16, opts *StatusOptions) (*JavaSt EnableSRV: true, Timeout: opts.Timeout - time.Millisecond*100, ProtocolVersion: 47, - Ping: true, + Ping: false, }) wg.Done()