diff options
author | Michal Labedzki <michal.labedzki@tieto.com> | 2015-01-06 10:47:33 +0100 |
---|---|---|
committer | Michal Labedzki <michal.labedzki@tieto.com> | 2015-02-07 16:56:17 +0000 |
commit | 13f6bce802a2dced0218a893ca9c196fb113cb22 (patch) | |
tree | 0142afd4dcd5b5ea83dd5a12fbdebb18284d4324 /epan/dissectors/packet-bluetooth.c | |
parent | 617c733b9fc3bf17536d77801a33f0aa63d2df4e (diff) |
Bluetooth: ATT: Use proto_tree_add_new_bytes for UUID128
Change-Id: I018b3e125bcbb6908276dd2b3b9f66def9aa745b
Reviewed-on: https://code.wireshark.org/review/6907
Petri-Dish: Michal Labedzki <michal.labedzki@tieto.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Tested-by: Michal Labedzki <michal.labedzki@tieto.com>
Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com>
Diffstat (limited to 'epan/dissectors/packet-bluetooth.c')
-rw-r--r-- | epan/dissectors/packet-bluetooth.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bluetooth.c b/epan/dissectors/packet-bluetooth.c index 6746c0d3a1..cef7a63616 100644 --- a/epan/dissectors/packet-bluetooth.c +++ b/epan/dissectors/packet-bluetooth.c @@ -1178,8 +1178,9 @@ get_uuid(tvbuff_t *tvb, gint offset, gint size) { uuid_t uuid; + uuid.bt_uuid = 0; + if (size != 2 && size != 16) { - uuid.bt_uuid = 0; uuid.size = 0; return uuid; |