Disable ping packets during status retrieval

This commit is contained in:
Jacob Gunther
2024-09-15 15:12:01 -05:00
parent 5d36a3d69c
commit cc2310b438

View File

@@ -332,7 +332,7 @@ func FetchJavaStatus(hostname string, port uint16, opts *StatusOptions) (*JavaSt
EnableSRV: true, EnableSRV: true,
Timeout: opts.Timeout - time.Millisecond*100, Timeout: opts.Timeout - time.Millisecond*100,
ProtocolVersion: 47, ProtocolVersion: 47,
Ping: true, Ping: false,
}) })
wg.Done() wg.Done()