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)
|
|
}
|