From 96f4ab5faf52556fc5ad840117abb2b8529d1d99 Mon Sep 17 00:00:00 2001 From: Hendrik Buschmeier <hbuschme@uni-bielefeld.de> Date: Thu, 12 Nov 2015 13:33:48 +0100 Subject: [PATCH] ipaaca-iu-sniffer prints channel of received IUs. --- ipaacatools/scripts/ipaaca-iu-sniffer | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ipaacatools/scripts/ipaaca-iu-sniffer b/ipaacatools/scripts/ipaaca-iu-sniffer index ac244b6..a4db584 100755 --- a/ipaacatools/scripts/ipaaca-iu-sniffer +++ b/ipaacatools/scripts/ipaaca-iu-sniffer @@ -78,7 +78,8 @@ def pretty_printed_iu_event(iu, event_type, local): s += highlight_if_color('%.3f' % t, '1') 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 += ' 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 += ' owner=' + iu.owner_name if event_type is not 'MESSAGE': -- GitLab