diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-03-03 23:29:59 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-03-03 23:29:59 +0000 |
commit | 15eea3fbb6d24c4312f2db1f8e39fe67e93f885a (patch) | |
tree | 68b299ad2fe89e0257f55885e35259e7f7d8dcdf /packet-frame.c | |
parent | 192d29fa4d87f93aa82943b7cfb9da689b20852b (diff) |
Handle packet direction information for SDLC Sniffer captures.
Add a bunch of capture types discovered by stuffing them into Windows
Sniffer captures and seeing what a Sniffer thought they were. Add
support for writing at least some of them.
svn path=/trunk/; revision=7265
Diffstat (limited to 'packet-frame.c')
-rw-r--r-- | packet-frame.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-frame.c b/packet-frame.c index 37e2e4df6d..1e434fa780 100644 --- a/packet-frame.c +++ b/packet-frame.c @@ -2,7 +2,7 @@ * * Top-most dissector. Decides dissector based on Wiretap Encapsulation Type. * - * $Id: packet-frame.c,v 1.35 2003/02/27 03:56:46 guy Exp $ + * $Id: packet-frame.c,v 1.36 2003/03/03 23:29:57 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -85,6 +85,7 @@ dissect_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) case WTAP_ENCAP_WFLEET_HDLC: case WTAP_ENCAP_CHDLC: case WTAP_ENCAP_PPP_WITH_PHDR: + case WTAP_ENCAP_SDLC: pinfo->p2p_dir = pinfo->pseudo_header->p2p.sent ? P2P_DIR_SENT : P2P_DIR_RECV; break; |