syncthing/vendor/github.com/jackpal/gateway/gateway_unimplemented.go
2016-06-02 20:40:30 +00:00

15 lines
242 B
Go

// +build !darwin,!linux,!windows,!solaris,!freebsd
package gateway
import (
"fmt"
"net"
"runtime"
)
func DiscoverGateway() (ip net.IP, err error) {
err = fmt.Errorf("DiscoverGateway not implemented for OS %s", runtime.GOOS)
return
}