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
13
vendor/github.com/AudriusButkevicius/go-nat-pmp/natpmp_test.go
generated
vendored
Normal file
13
vendor/github.com/AudriusButkevicius/go-nat-pmp/natpmp_test.go
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
package natpmp
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestNatPMP(t *testing.T) {
|
||||
client, err := NewClientForDefaultGateway()
|
||||
if err != nil {
|
||||
t.Errorf("NewClientForDefaultGateway() = %v,%v", client, err)
|
||||
return
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user