diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-10-25 07:17:28 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-10-25 07:17:28 +0000 |
commit | b624dce63ba6fd7c4d700864c5eaa936a470e99c (patch) | |
tree | 779267db694464aabf71de57a78ed5695901f578 /packet-chdlc.c | |
parent | aed6852d6bc1bae4972d8eaa56ed98d96f7fa27a (diff) |
Add a new WTAP_ENCAP_CHDLC_WITH_PHDR type, to distinguish Cisco HDLC
captures with packet direction information from captures without it.
Use them appropriately.
svn path=/trunk/; revision=8780
Diffstat (limited to 'packet-chdlc.c')
-rw-r--r-- | packet-chdlc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-chdlc.c b/packet-chdlc.c index 582eb41805..19ee04fbeb 100644 --- a/packet-chdlc.c +++ b/packet-chdlc.c @@ -1,7 +1,7 @@ /* packet-chdlc.c * Routines for Cisco HDLC packet disassembly * - * $Id: packet-chdlc.c,v 1.20 2003/08/26 05:52:43 guy Exp $ + * $Id: packet-chdlc.c,v 1.21 2003/10/25 07:17:26 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -243,6 +243,7 @@ proto_reg_handoff_chdlc(void) data_handle = find_dissector("data"); chdlc_handle = find_dissector("chdlc"); dissector_add("wtap_encap", WTAP_ENCAP_CHDLC, chdlc_handle); + dissector_add("wtap_encap", WTAP_ENCAP_CHDLC_WITH_PHDR, chdlc_handle); } #define SLARP_REQUEST 0 |