Commit 1a86df6e authored by Federico Vaga's avatar Federico Vaga

wrtd:tools: do not print channel for promis log

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent f3c4ef08
......@@ -35,7 +35,10 @@ static int print_message(struct wrnc_hmq *hmq)
return -1;
fprintf(stdout, "Event Type %s\n", wrtd_strlogging(log.type));
fprintf(stdout, "Channel %d\n", log.channel);
if (log.type == WRTD_LOG_PROMISC)
fprintf(stdout, "Channel --\n");
else
fprintf(stdout, "Channel %d\n", log.channel);
fprintf(stdout, "Miss reason %x\n", log.miss_reason);
fprintf(stdout, "Seq %d\n", log.seq);
if (log.type == WRTD_LOG_RAW)
......
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