mirror of
https://github.com/fosrl/olm.git
synced 2026-02-08 05:56:41 +00:00
18 lines
372 B
Go
18 lines
372 B
Go
//go:build android
|
|
|
|
package olm
|
|
|
|
import (
|
|
"github.com/fosrl/olm/dns"
|
|
)
|
|
|
|
// SetupDNSOverride is a no-op on Android
|
|
// Android handles DNS through the VpnService API at the Java/Kotlin layer
|
|
func SetupDNSOverride(interfaceName string, dnsProxy *dns.DNSProxy) error {
|
|
return nil
|
|
}
|
|
|
|
// RestoreDNSOverride is a no-op on Android
|
|
func RestoreDNSOverride() error {
|
|
return nil
|
|
} |