vendor: Revert to github.com/jackpal/gateway instead of fork
It now includes all the fixes GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3246
This commit is contained in:
committed by
Audrius Butkevicius
parent
8709fec517
commit
6a67921e40
14
vendor/github.com/jackpal/gateway/gateway_unimplemented.go
generated
vendored
Normal file
14
vendor/github.com/jackpal/gateway/gateway_unimplemented.go
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
// +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
|
||||
}
|
||||
Reference in New Issue
Block a user