/** * @param peer * @param packet A packet received from a peer */ public void update(Destination peer, I2PBotePacket packet) { if (packet.isProtocolVersionOk()) unban(peer); else ban(peer, new BanReason(WRONG_PROTO_VER, "" + packet.getProtocolVersion())); } }