aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Dieb Martins <andre.dieb@signove.com>2011-03-30 11:01:32 -0300
committerJohan Hedberg <johan.hedberg@nokia.com>2011-03-30 19:45:49 +0300
commit385d8e843baf5612e1e961405df22e13f684c2c2 (patch)
tree584ecb399c4f06479782a3ae134fe9065deb108a
parent55835194f59a021ceb4075c2591e1f6df229c7e8 (diff)
downloadhcidump-385d8e843baf5612e1e961405df22e13f684c2c2.tar.gz
Fix handle formatting for ATT Handle Notify
-rw-r--r--parser/att.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser/att.c b/parser/att.c
index 5bff925..a1cd9af 100644
--- a/parser/att.c
+++ b/parser/att.c
@@ -512,7 +512,7 @@ static void att_handle_notify_dump(int level, struct frame *frm)
uint16_t handle = btohs(htons(get_u16(frm)));
p_indent(level, frm);
- printf("handle 0x%2.2x\n", handle);
+ printf("handle 0x%4.4x\n", handle);
p_indent(level, frm);
printf("value ");