lib/pmp: Add NAT-PMP support (ref #698)

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/2968
This commit is contained in:
Audrius Butkevicius
2016-04-13 18:50:40 +00:00
committed by Jakob Borg
parent 52c7804f32
commit c49453c519
16 changed files with 650 additions and 6 deletions

10
vendor/github.com/jackpal/gateway/gateway_test.go generated vendored Normal file
View 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)
}
}