trx_toolkit/trx_sniff.py: also validate() sniffed messages
Change-Id: Ica3e4702fdabfdae0c1025b650ff32c8e85a6edf
This commit is contained in:
parent
78199f4f7b
commit
83a41a63b2
|
@ -109,6 +109,7 @@ class Application(ApplicationBase):
|
|||
# Attempt to parse the payload as a DATA message
|
||||
try:
|
||||
msg.parse_msg(msg_raw)
|
||||
msg.validate()
|
||||
except ValueError as e:
|
||||
log.warning("Ignoring an incorrect message: %s" % e)
|
||||
self.cnt_burst_dropped_num += 1
|
||||
|
|
Loading…
Reference in New Issue