SCE适配Firewall控制报文变更: Reset All控制报文的mpack->Session ID为0,mbuffer->Payload Offset为0
This commit is contained in:
@@ -69,11 +69,14 @@ int control_packet_parse(struct control_packet *handler, const char *data, size_
|
||||
goto error_out;
|
||||
}
|
||||
handler->session_id = mpack_node_u64(temp);
|
||||
if (handler->session_id == 0)
|
||||
{
|
||||
LOG_ERROR("%s: unexpected control packet: (invalid session_id value) %lu", LOG_TAG_CTRLPKT, handler->session_id);
|
||||
goto error_out;
|
||||
}
|
||||
/*
|
||||
* reset all session id is zero
|
||||
* if (handler->session_id == 0)
|
||||
* {
|
||||
* LOG_ERROR("%s: unexpected control packet: (invalid session_id value) %lu", LOG_TAG_CTRLPKT, handler->session_id);
|
||||
* goto error_out;
|
||||
* }
|
||||
*/
|
||||
|
||||
// state
|
||||
temp = mpack_node_map_cstr(root, "state");
|
||||
|
||||
Reference in New Issue
Block a user