5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-25 20:41:36 +00:00

simplify routerInterface

This commit is contained in:
Arceliar 2020-05-23 12:21:23 -05:00
parent f2b9e95895
commit 77ded84ea5

View File

@ -258,7 +258,7 @@ func (r *router) _handleNodeInfo(bs []byte, fromKey *crypto.BoxPubKey) {
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// routerInterface is a helper that implements peerInterface // routerInterface is a helper that implements linkInterface
type routerInterface struct { type routerInterface struct {
router *router router *router
} }