aboutsummaryrefslogtreecommitdiffstats
path: root/packet-fr.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-01-31 01:02:14 +0000
committerGuy Harris <guy@alum.mit.edu>2003-01-31 01:02:14 +0000
commitf88816e60f1f14f2662c20740db6ecf3764e82b6 (patch)
tree4fc64f4ea929901c9f1cc62467bfce72435baa2b /packet-fr.c
parent1c898c8a11d0d008719d2d563b65d7c362e530ce (diff)
Add WTAP_ENCAP_FRELAY_WITH_PHDR for use with Frame Relay capture files
that have direction information. Support writing WTAP_ENCAP_FRELAY_WITH_PHDR and WTAP_ENCAP_PPP_WITH_PHDR captures out in libpcap format - we throw away the direction information, but so it goes. When reading/writing Windows Sniffer format, read and write the direction flag. svn path=/trunk/; revision=7052
Diffstat (limited to 'packet-fr.c')
-rw-r--r--packet-fr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-fr.c b/packet-fr.c
index e7fd939b1d..1948e66e2a 100644
--- a/packet-fr.c
+++ b/packet-fr.c
@@ -3,7 +3,7 @@
*
* Copyright 2001, Paul Ionescu <paul@acorp.ro>
*
- * $Id: packet-fr.c,v 1.32 2002/10/22 08:22:02 guy Exp $
+ * $Id: packet-fr.c,v 1.33 2003/01/31 01:02:03 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -429,6 +429,7 @@ void proto_reg_handoff_fr(void)
fr_handle = create_dissector_handle(dissect_fr, proto_fr);
dissector_add("wtap_encap", WTAP_ENCAP_FRELAY, fr_handle);
+ dissector_add("wtap_encap", WTAP_ENCAP_FRELAY_WITH_PHDR, fr_handle);
dissector_add("gre.proto", GRE_FR, fr_handle);
data_handle = find_dissector("data");
}