Fixed service unexpectedly stop

This commit is contained in:
PeratX 2017-05-29 20:03:21 +08:00
parent 0b3f5e671a
commit 6e57c13cd1

View File

@ -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);