diff options
Diffstat (limited to 'source/packets')
-rw-r--r-- | source/packets/cPacket_KeepAlive.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/packets/cPacket_KeepAlive.h b/source/packets/cPacket_KeepAlive.h index 833947bfb..85bd14083 100644 --- a/source/packets/cPacket_KeepAlive.h +++ b/source/packets/cPacket_KeepAlive.h @@ -7,6 +7,7 @@ class cPacket_KeepAlive : public cPacket {
public:
cPacket_KeepAlive() { m_PacketID = E_KEEP_ALIVE; }
+ cPacket_KeepAlive(int a_PingID) { m_KeepAliveID = a_PingID; }
virtual cPacket* Clone() const { return new cPacket_KeepAlive(*this); }
virtual bool Parse(cSocket & a_Socket);
|