mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-17 10:58:29 -07:00
17 lines
318 B
Go
17 lines
318 B
Go
|
// +build !linux,!darwin
|
||
|
|
||
|
package sysutil
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"runtime"
|
||
|
)
|
||
|
|
||
|
func ifaceHasStaticIP(string) (bool, error) {
|
||
|
return false, fmt.Errorf("cannot check if IP is static: not supported on %s", runtime.GOOS)
|
||
|
}
|
||
|
|
||
|
func ifaceSetStaticIP(string) error {
|
||
|
return fmt.Errorf("cannot set static IP on %s", runtime.GOOS)
|
||
|
}
|