mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-20 02:00:55 +07:00
fix: killswitch compatible
This commit is contained in:
@@ -302,6 +302,7 @@ void DnsUtilsLinux::dnsDomainsReceived(QDBusPendingCallWatcher* call) {
|
|||||||
if (m_ifindex > 0) {
|
if (m_ifindex > 0) {
|
||||||
QList<DnsLinkDomain> newlist = {root};
|
QList<DnsLinkDomain> newlist = {root};
|
||||||
setLinkDomains(m_ifindex, newlist);
|
setLinkDomains(m_ifindex, newlist);
|
||||||
|
updateLinkDefaultRoutes();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user