mirror of
https://github.com/espressif/openthread.git
synced 2026-07-29 23:27:46 +00:00
[network-diagnostic] skip unrecognized TLV type in FillRequestedTlvs() (#4992)
This commit is contained in:
committed by
Jonathan Hui
parent
ec1ba12dfd
commit
582c2c136a
@@ -452,7 +452,8 @@ otError NetworkDiagnostic::FillRequestedTlvs(const Message & aRequest,
|
||||
#endif
|
||||
|
||||
default:
|
||||
ExitNow(error = OT_ERROR_PARSE);
|
||||
// Skip unrecognized TLV type.
|
||||
break;
|
||||
}
|
||||
|
||||
offset += sizeof(type);
|
||||
|
||||
Reference in New Issue
Block a user