From 605b6829db34f6706e9b9c9353cfbf925d4e149a Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Fri, 5 Oct 2018 19:28:46 +0100 Subject: [PATCH] Fix debug builds (broken by #182) --- src/yggdrasil/debug.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/yggdrasil/debug.go b/src/yggdrasil/debug.go index c254925..892529b 100644 --- a/src/yggdrasil/debug.go +++ b/src/yggdrasil/debug.go @@ -399,7 +399,7 @@ func (c *Core) DEBUG_maybeSendUDPKeys(saddr string) { //////////////////////////////////////////////////////////////////////////////// func (c *Core) DEBUG_addPeer(addr string) { - err := c.admin.addPeer(addr) + err := c.admin.addPeer(addr, "") if err != nil { panic(err) } @@ -438,7 +438,7 @@ func (c *Core) DEBUG_getGlobalTCPAddr() *net.TCPAddr { } func (c *Core) DEBUG_addTCPConn(saddr string) { - c.tcp.call(saddr, nil) + c.tcp.call(saddr, nil, "") } //*/