5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-12-22 23:25:39 +00:00

Fix debug builds (broken by #182)

This commit is contained in:
Neil Alexander 2018-10-05 19:28:46 +01:00
parent b6ff6e96cd
commit 605b6829db
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944

View File

@ -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, "")
}
//*/