diff --git a/targets/SCRIPTS/msc_gen.py b/targets/SCRIPTS/msc_gen.py index fbd216d2db2bc65c4d3efd3ae1e5044d7deabe16..0c1fafd9192911a02cc54935e90111320a151cae 100755 --- a/targets/SCRIPTS/msc_gen.py +++ b/targets/SCRIPTS/msc_gen.py @@ -148,13 +148,14 @@ def parse_oai_log_files(): g_messages[event_id] = Message elif MSC_BOX_STR == event_type: - message = partition[3] + sub_partition = partition[3].split(' ',1) + time = sub_partition[0] + message = sub_partition[1] Message = {} Message['type'] = "box" Message['tx'] = entity_id Message['rx'] = entity_id Message['discarded'] = False - Message['mac'] = mac Message['time'] = time Message['message'] = message Message['line_color'] = g_display_color[entity_id]