Skip to content
Snippets Groups Projects
Commit 96f4ab5f authored by Hendrik Buschmeier's avatar Hendrik Buschmeier
Browse files

ipaaca-iu-sniffer prints channel of received IUs.

parent 12f38ca8
No related branches found
No related tags found
No related merge requests found
...@@ -78,7 +78,8 @@ def pretty_printed_iu_event(iu, event_type, local): ...@@ -78,7 +78,8 @@ def pretty_printed_iu_event(iu, event_type, local):
s += highlight_if_color('%.3f' % t, '1') s += highlight_if_color('%.3f' % t, '1')
s += ' %02d:%02d:%02d' % (lt.tm_hour, lt.tm_min, lt.tm_sec) s += ' %02d:%02d:%02d' % (lt.tm_hour, lt.tm_min, lt.tm_sec)
s += ' ' + highlight_if_color('%-9s' % event_type, event_type_color(event_type)) s += ' ' + highlight_if_color('%-9s' % event_type, event_type_color(event_type))
s += ' category=' + highlight_if_color(iu.category,event_type_color(event_type)) s += ' category=' + highlight_if_color(iu.category,event_type_color(event_type))
s += ' channel=' + iu.buffer._channel
s += ' uid=' + iu.uid s += ' uid=' + iu.uid
s += ' owner=' + iu.owner_name s += ' owner=' + iu.owner_name
if event_type is not 'MESSAGE': if event_type is not 'MESSAGE':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment