final fix

This commit is contained in:
Alex Grintsvayg 2018-08-07 12:06:02 -04:00
parent a3fdc44efb
commit e9ce0d5afa

View file

@ -204,7 +204,7 @@ func (n *Node) handlePacket(pkt packet) {
n.handleError(pkt.raddr, e) n.handleError(pkt.raddr, e)
default: default:
log.Errorf("[%s] invalid message type: %s", n.id.HexShort(), pkt.data[5]) log.Errorf("[%s] invalid message type: %s", n.id.HexShort(), string(pkt.data[5]))
return return
} }
} }