diff options
author | Jörg Mayer <jmayer@loplof.de> | 2006-06-04 17:48:18 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2006-06-04 17:48:18 +0000 |
commit | af663527d2631f2880142e2bfae5a0a5a7288bec (patch) | |
tree | 60782abfc4c7f9505f580758634fa06fb7fe5f0f /epan/dissectors/packet-btl2cap.c | |
parent | 98477bc4e4e20ff23c5d195e87b121722daa0252 (diff) | |
download | wireshark-af663527d2631f2880142e2bfae5a0a5a7288bec.tar.gz |
warning fix: guint16 is always <= 0xFFFF
svn path=/trunk/; revision=18334
Diffstat (limited to 'epan/dissectors/packet-btl2cap.c')
-rw-r--r-- | epan/dissectors/packet-btl2cap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-btl2cap.c b/epan/dissectors/packet-btl2cap.c index 38feec448d..e5e4ce4b20 100644 --- a/epan/dissectors/packet-btl2cap.c +++ b/epan/dissectors/packet-btl2cap.c @@ -619,7 +619,7 @@ static void dissect_btl2cap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) proto_tree_add_item(btl2cap_tree, hf_btl2cap_payload, tvb, offset, length, TRUE); } offset+=tvb_length_remaining(tvb, offset); - } else if((cid >= 0x0040) && (cid <= 0xFFFF)){ /* Connection oriented channel */ + } else if(cid >= 0x0040) { /* Connection oriented channel */ if(check_col(pinfo->cinfo, COL_INFO)){ col_append_str(pinfo->cinfo, COL_INFO, "Connection oriented channel"); } |