mirror of
https://github.com/deavmi/doap
synced 2024-07-02 12:27:53 +02:00
CoapPacket
- If we are in the 16-bit extended option delta mode and we come across a non 4bit length, then assert falsely
This commit is contained in:
parent
71c0781ff6
commit
6dfd908184
|
@ -481,6 +481,11 @@ public class CoapPacket
|
|||
writeln("Built option: ", option);
|
||||
createdOptions ~= option;
|
||||
}
|
||||
else
|
||||
{
|
||||
writeln("OptionDelta14 Mode: We don't yet support other option lengths in this mode");
|
||||
assert(false);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user