Fixed service unexpectedly stop
This commit is contained in:
parent
0b3f5e671a
commit
6e57c13cd1
@ -234,7 +234,7 @@ public class UdpDnsProvider extends DnsProvider {
|
||||
}
|
||||
}
|
||||
|
||||
private void handleRawDnsResponse(IpPacket parsedPacket, DatagramSocket dnsSocket) throws IOException {
|
||||
private void handleRawDnsResponse(IpPacket parsedPacket, DatagramSocket dnsSocket) {
|
||||
try {
|
||||
byte[] datagramData = new byte[1024];
|
||||
DatagramPacket replyPacket = new DatagramPacket(datagramData, datagramData.length);
|
||||
|
Loading…
Reference in New Issue
Block a user