lib/pmp: Add NAT-PMP support (ref #698)
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/2968
This commit is contained in:
committed by
Jakob Borg
parent
52c7804f32
commit
c49453c519
10
vendor/github.com/jackpal/gateway/gateway_test.go
generated
vendored
Normal file
10
vendor/github.com/jackpal/gateway/gateway_test.go
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
package gateway
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestGateway(t *testing.T) {
|
||||
ip, err := DiscoverGateway()
|
||||
if err != nil {
|
||||
t.Errorf("DiscoverGateway() = %v,%v", ip, err)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user