The code to read hcidump files sets the p2p pseudo-header for
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 16 Apr 2006 10:54:32 +0000 (10:54 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 16 Apr 2006 10:54:32 +0000 (10:54 +0000)
WTAP_ENCAP_BLUETOOTH_H4.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17874 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-frame.c

index 1d1f52a82ed7b721948de4acb09b88a6ed4fe170..22bb91afa3e71799f771216c61a80a6d63b4ed9a 100644 (file)
@@ -127,6 +127,7 @@ dissect_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
                case WTAP_ENCAP_CHDLC_WITH_PHDR:
                case WTAP_ENCAP_PPP_WITH_PHDR:
                case WTAP_ENCAP_SDLC:
+               case WTAP_ENCAP_BLUETOOTH_H4:
                        pinfo->p2p_dir = pinfo->pseudo_header->p2p.sent ?
                            P2P_DIR_SENT : P2P_DIR_RECV;
                        break;