Commit 889bda22 authored by Lionel Gauthier's avatar Lionel Gauthier

Bug in event

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7181 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 1354086e
...@@ -148,13 +148,14 @@ def parse_oai_log_files(): ...@@ -148,13 +148,14 @@ def parse_oai_log_files():
g_messages[event_id] = Message g_messages[event_id] = Message
elif MSC_BOX_STR == event_type: 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 = {}
Message['type'] = "box" Message['type'] = "box"
Message['tx'] = entity_id Message['tx'] = entity_id
Message['rx'] = entity_id Message['rx'] = entity_id
Message['discarded'] = False Message['discarded'] = False
Message['mac'] = mac
Message['time'] = time Message['time'] = time
Message['message'] = message Message['message'] = message
Message['line_color'] = g_display_color[entity_id] Message['line_color'] = g_display_color[entity_id]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment