|
|
|
@ -44,6 +44,7 @@ class DleParser {
|
|
|
|
|
Context(void* args) : userArgs(args) { setType(ContextType::PACKET_FOUND); }
|
|
|
|
|
|
|
|
|
|
void setType(ContextType type) {
|
|
|
|
|
this->type = type;
|
|
|
|
|
if (type == ContextType::PACKET_FOUND) {
|
|
|
|
|
error.first = ErrorTypes::NONE;
|
|
|
|
|
error.second.len = 0;
|
|
|
|
|