(id state.NodeId)
| 289 | } |
| 290 | |
| 291 | func (n *Nylon) checkNode(id state.NodeId) bool { |
| 292 | ncfg := n.TryGetNode(id) |
| 293 | if ncfg == nil { |
| 294 | n.router.log.Warn("received packet from unknown node", "from", id) |
| 295 | } |
| 296 | return ncfg != nil |
| 297 | } |
| 298 | |
| 299 | // packet handlers |
| 300 | func (n *Nylon) routerHandleRouteUpdate(node state.NodeId, update *protocol.Ny_Update) error { |
no test coverage detected