9f5a015f42
Updates #2419. Squashed commit of the following: commit e57e6ce56c59d4ef42b1716247fe48a86404179e Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Tue Jun 15 19:37:15 2021 +0300 all: imp build tags
18 lines
347 B
Go
18 lines
347 B
Go
//go:build !(linux || darwin)
|
|
// +build !linux,!darwin
|
|
|
|
package aghnet
|
|
|
|
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)
|
|
}
|