We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f328e96 commit 23c6c6eCopy full SHA for 23c6c6e
1 file changed
src/protocol/parsers/parser_ping.h
@@ -77,9 +77,15 @@ class PingParser : public Parser
77
state++;
78
break;
79
case WAIT_SRC_ID:
80
+ parseBuf.append(byte);
81
+ state++;
82
+ break;
83
case WAIT_DST_ID:
84
parseBuf.append(byte);
85
86
+ if (payload_length == 0) { // no payload bytes
87
88
+ }
89
90
case WAIT_PAYLOAD:
91
0 commit comments