Audrius Butkevicius пре 9 година
родитељ
комит
adb7fb43cb
2 измењених фајлова са 3 додато и 5 уклоњено
  1. 2 4
      vendor/github.com/AudriusButkevicius/go-nat-pmp/natpmp_test.go
  2. 1 1
      vendor/manifest

+ 2 - 4
vendor/github.com/AudriusButkevicius/go-nat-pmp/natpmp_test.go

@@ -1,11 +1,9 @@
 package natpmp
 package natpmp
 
 
-import (
-	"testing"
-)
+import "testing"
 
 
 func TestNatPMP(t *testing.T) {
 func TestNatPMP(t *testing.T) {
-	client, err := NewClientForDefaultGateway()
+	client, err := NewClientForDefaultGateway(0)
 	if err != nil {
 	if err != nil {
 		t.Errorf("NewClientForDefaultGateway() = %v,%v", client, err)
 		t.Errorf("NewClientForDefaultGateway() = %v,%v", client, err)
 		return
 		return

+ 1 - 1
vendor/manifest

@@ -4,7 +4,7 @@
 		{
 		{
 			"importpath": "github.com/AudriusButkevicius/go-nat-pmp",
 			"importpath": "github.com/AudriusButkevicius/go-nat-pmp",
 			"repository": "https://github.com/AudriusButkevicius/go-nat-pmp",
 			"repository": "https://github.com/AudriusButkevicius/go-nat-pmp",
-			"revision": "88a8019a0eff7e9db55f458230b867f0d7e5d48f",
+			"revision": "e9d7ecafd6f4cd4f59fc45bb9a47466ce637d0fe",
 			"branch": "master"
 			"branch": "master"
 		},
 		},
 		{
 		{