mirror of
https://github.com/fumiama/WireGold.git
synced 2026-06-09 18:40:36 +08:00
init complete
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
func TestTunnel(t *testing.T) {
|
||||
logrus.SetLevel(logrus.DebugLevel)
|
||||
link.SetMyself([32]byte{}, "192.168.1.2", "127.0.0.1:1236")
|
||||
link.AddPeer("192.168.1.2", [32]byte{}, "127.0.0.1:1236", 0)
|
||||
link.AddPeer("192.168.1.2", [32]byte{}, "127.0.0.1:1236", nil, 0)
|
||||
tunn, err := Create("192.168.1.2", 1, 1)
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
|
||||
Reference in New Issue
Block a user