projects
/
revag-bap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2add1c2
)
sniffer: Print single/multi frame
author
norly
<ny-git@enpas.org>
Wed, 5 Apr 2017 21:38:05 +0000
(23:38 +0200)
committer
norly
<ny-git@enpas.org>
Wed, 5 Apr 2017 21:38:05 +0000
(23:38 +0200)
vw-bap-sniffer.c
patch
|
blob
|
history
diff --git
a/vw-bap-sniffer.c
b/vw-bap-sniffer.c
index 345dda7f0bc23499625a926c6195e57462905e7f..ac1ef799f146c920e00658100fad2780a977122c 100644
(file)
--- a/
vw-bap-sniffer.c
+++ b/
vw-bap-sniffer.c
@@
-130,10
+130,11
@@
int main(int argc, char **argv)
if (bap_frame && bap_frame->node == node_id) {
mvprintw(bap_frame->function, 0, "");
- printw("%u. %2i/%-2i .%02i --",
+ printw("%u. %2i/%-2i .%
c%
02i --",
bap_frame->opcode,
bap_frame->node,
bap_frame->function,
+ bap_frame->is_multiframe ? 'm' : 's',
bap_frame->len);
/* Limit huge packets */