diff options
author | Anders Broman <anders.broman@ericsson.com> | 2012-10-09 10:36:04 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2012-10-09 10:36:04 +0000 |
commit | 3805f354a4aad2ac032699a55a13ed9df6a5b684 (patch) | |
tree | c35573762e32854261581430f00946dbc5f97522 /epan/dissectors/packet-btl2cap.c | |
parent | 4209300f48774c7322a36e2673d396da6c237eaf (diff) | |
download | wireshark-3805f354a4aad2ac032699a55a13ed9df6a5b684.tar.gz |
From Michal Labedzki:
[PATCH 15] Bluetooth: Add modelines
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7639
svn path=/trunk/; revision=45422
Diffstat (limited to 'epan/dissectors/packet-btl2cap.c')
-rw-r--r-- | epan/dissectors/packet-btl2cap.c | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/epan/dissectors/packet-btl2cap.c b/epan/dissectors/packet-btl2cap.c index 224fcfa52c..6fe26d9976 100644 --- a/epan/dissectors/packet-btl2cap.c +++ b/epan/dissectors/packet-btl2cap.c @@ -1038,7 +1038,7 @@ dissect_i_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, proto_tree if (length <= 6) { expert_add_info_format(pinfo, pi, PI_MALFORMED, PI_WARN, "SDU length too short: %u", length); - THROW(ReportedBoundsError); + THROW(ReportedBoundsError); } length -= 6; /*Control, SDUlength, FCS*/ @@ -1071,7 +1071,7 @@ dissect_i_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, proto_tree if (length <= 4) { expert_add_info_format(pinfo, btl2cap_tree, PI_MALFORMED, PI_WARN, "Control / FCS length too short: %u", length); - THROW(ReportedBoundsError); + THROW(ReportedBoundsError); } length -= 4; /*Control, FCS*/ } @@ -1908,3 +1908,16 @@ proto_reg_handoff_btl2cap(void) using the PSM channel so we know which sub-dissector to call */ register_tap_listener("btsdp", NULL, NULL, TL_IS_DISSECTOR_HELPER, NULL, btl2cap_sdp_tap_packet, NULL); } + +/* + * Editor modelines - http://www.wireshark.org/tools/modelines.html + * + * Local variables: + * c-basic-offset: 4 + * tab-width: 8 + * indent-tabs-mode: nil + * End: + * + * vi: set shiftwidth=4 tabstop=8 expandtab: + * :indentSize=4:tabSize=8:noTabs=true: + */ |