fix messgae unit tests

This commit is contained in:
Stefan Allius
2023-11-13 00:01:26 +01:00
parent 4b7431ede9
commit a47ebb1511
2 changed files with 4 additions and 2 deletions

View File

@@ -318,6 +318,8 @@ class Message(metaclass=IterRegistry):
self.header_len)
logger.debug(f'tsun-time: {result[0]:08x}'
f' proxy-time: {ts:08x}')
elif not self.ctrl.is_ind():
self.inc_counter('Unknown_Ctrl')
else:
if self.ctrl.is_ind():
ts = self.__timestamp()