Diff between b33ade97b244fc3193fea000abbb89d446adfa13 and c1a0ee03e8f2e04bc690838c22dce615c4f7cb4b
Changed Files
| File | Additions | Deletions | Status |
| monitor/packet.c | +2 | -1 | modified |
Full Patch
diff --git a/monitor/packet.c b/monitor/packet.c
index 3f2ad8d..53a1392 100644
--- a/monitor/packet.c
+++ b/monitor/packet.c
@@ -176,7 +176,8 @@ static void print_packet(struct timeval *tv, uint16_t index, char ident,
char line[256], ts_str[64];
int n, ts_len = 0, ts_pos = 0, len = 0, pos = 0;
- if (filter_mask & PACKET_FILTER_SHOW_INDEX) {
+ if ((filter_mask & PACKET_FILTER_SHOW_INDEX) &&
+ index != HCI_DEV_NONE) {
if (use_color()) {
n = sprintf(ts_str + ts_pos, "%s", COLOR_INDEX_LABEL);
if (n > 0)