mirror of
https://github.com/fosrl/olm.git
synced 2026-03-09 20:26:47 +00:00
Add stub
This commit is contained in:
17
dns/override/dns_override_ios.go
Normal file
17
dns/override/dns_override_ios.go
Normal file
@@ -0,0 +1,17 @@
|
||||
//go:build ios
|
||||
|
||||
package olm
|
||||
|
||||
import (
|
||||
"github.com/fosrl/olm/dns"
|
||||
)
|
||||
|
||||
// SetupDNSOverride is a no-op on iOS as DNS configuration is handled by the system
|
||||
func SetupDNSOverride(interfaceName string, dnsProxy *dns.DNSProxy) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// RestoreDNSOverride is a no-op on iOS as DNS configuration is handled by the system
|
||||
func RestoreDNSOverride() error {
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user