mirror of
https://github.com/emanuele-f/PCAPdroid.git
synced 2026-07-03 21:21:12 +08:00
parent
4e96623130
commit
5a139aaf6c
@ -428,7 +428,7 @@ public class CaptureService extends VpnService implements Runnable {
|
||||
|
||||
try {
|
||||
builder.addDnsServer(InetAddress.getByName(Prefs.getDnsServerV6(mPrefs)));
|
||||
} catch (UnknownHostException e) {
|
||||
} catch (UnknownHostException | IllegalArgumentException e) {
|
||||
Log.w(TAG, "Could not set IPv6 DNS server");
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user