fix: clear rxData in case of testsuite notification

This commit is contained in:
uhi22 2023-05-14 00:40:28 +02:00
parent 6c1703b1a9
commit fe0610a472

View file

@ -236,6 +236,7 @@ class fsmPev():
if ((self.rxData[0]!=0x01) or (self.rxData[1]!=0xFE)): if ((self.rxData[0]!=0x01) or (self.rxData[1]!=0xFE)):
# it is no EXI data. Print it to log, it could be a TESTSUITE notification. # it is no EXI data. Print it to log, it could be a TESTSUITE notification.
self.addToTrace("TESTSUITE notification. Seems we are running a test case. TTTTTTTTTTTTTTTTTTTTTTT") self.addToTrace("TESTSUITE notification. Seems we are running a test case. TTTTTTTTTTTTTTTTTTTTTTT")
self.rxData = []
return return
exidata = removeV2GTPHeader(self.rxData) exidata = removeV2GTPHeader(self.rxData)
self.rxData = [] self.rxData = []