Diff between b8c3c64af376c41d708ac59e4781e8525f88bc7d and ea8fb0bc76134049221b69169f6a2a71d5e80556
Changed Files
| File | Additions | Deletions | Status |
| tools/parser/l2cap.c | +5 | -0 | modified |
Full Patch
diff --git a/tools/parser/l2cap.c b/tools/parser/l2cap.c
index 673c6b5..bc41a53 100644
--- a/tools/parser/l2cap.c
+++ b/tools/parser/l2cap.c
@@ -803,6 +803,11 @@ static void l2cap_parse(int level, struct frame *frm)
p_indent(level, frm);
printf("L2CAP(c): len %d psm %d\n", dlen, psm);
raw_dump(level, frm);
+ } else if (cid == 0x04) {
+ if (!p_filter(FILT_ATT))
+ att_dump(level, frm);
+ else
+ raw_dump(level + 1, frm);
} else {
/* Connection oriented channel */