From 5d3f15c2d8d2385dcbd6ee67ff9e06131298abca Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Wed, 2 Nov 2016 15:31:31 -0700 Subject: [PATCH] net: consider alert packets to be "unknown". --- lib/net/packets.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/net/packets.js b/lib/net/packets.js index c2564e28..f87d2eda 100644 --- a/lib/net/packets.js +++ b/lib/net/packets.js @@ -2942,8 +2942,6 @@ exports.fromRaw = function fromRaw(cmd, data) { return PingPacket.fromRaw(data); case 'pong': return PongPacket.fromRaw(data); - case 'alert': - return AlertPacket.fromRaw(data); case 'getaddr': return GetAddrPacket.fromRaw(data); case 'addr':