浏览代码

vendor: Update go-nat-pmp

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
 
-import (
-	"testing"
-)
+import "testing"
 
 func TestNatPMP(t *testing.T) {
-	client, err := NewClientForDefaultGateway()
+	client, err := NewClientForDefaultGateway(0)
 	if err != nil {
 		t.Errorf("NewClientForDefaultGateway() = %v,%v", client, err)
 		return

+ 1 - 1
vendor/manifest

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