summaryrefslogtreecommitdiffstats
path: root/src/Protocol/ProtocolRecognizer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Protocol/ProtocolRecognizer.h')
-rw-r--r--src/Protocol/ProtocolRecognizer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Protocol/ProtocolRecognizer.h b/src/Protocol/ProtocolRecognizer.h
index 1a638fb21..32dcca940 100644
--- a/src/Protocol/ProtocolRecognizer.h
+++ b/src/Protocol/ProtocolRecognizer.h
@@ -143,8 +143,6 @@ public:
virtual void SendData(const char * a_Data, size_t a_Size) override;
- void SendPingStatusResponse(void);
-
protected:
/** The recognized protocol */
cProtocol * m_Protocol;
@@ -155,6 +153,9 @@ protected:
/** Is a server list ping for an unrecognized version currently occuring? */
bool m_InPingForUnrecognizedVersion;
+ // Packet handlers while in status state (m_InPingForUnrecognizedVersion == true)
+ void HandlePacketStatusRequest();
+ void HandlePacketStatusPing();
/** Tries to recognize protocol based on m_Buffer contents; returns true if recognized */
bool TryRecognizeProtocol(void);