Closed mprymek closed 1 year ago
Like in WILLTOPIC, the WILLTOPICUPD packet must not contain Flags if WillMsg length is zero.
WILLTOPIC
WILLTOPICUPD
Flags
WillMsg
The old implementation inserts Flags field into the packet regardless of WillMsg. This PR introduces the right behavior and improved WillTopicUpd tests.
WillTopicUpd
Like in
WILLTOPIC
, theWILLTOPICUPD
packet must not containFlags
ifWillMsg
length is zero.The old implementation inserts
Flags
field into the packet regardless ofWillMsg
. This PR introduces the right behavior and improvedWillTopicUpd
tests.