aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/wtap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-11-30 07:14:22 +0000
committerGuy Harris <guy@alum.mit.edu>2001-11-30 07:14:22 +0000
commita7bb49b0d967c759dccab991e3ab049495a39dfc (patch)
treed2124c81f2ca7a0d8f1f849a1362bc8261966b4b /wiretap/wtap.c
parent9161ba8e7f3fa9d8c59f5f7719625689a9867d6f (diff)
Add support for LocalTalk Link Access Protocol.
Rename WTAP_ENCAP_PRISM to WTAP_ENCAP_PRISM_HEADER, to match DLT_PRISM_HEADER. Add in missing capture support for WTAP_ENCAP_PRISM_HEADER when capturing with "pcap_open_live()" rather than reading the capture from a pipe. svn path=/trunk/; revision=4299
Diffstat (limited to 'wiretap/wtap.c')
-rw-r--r--wiretap/wtap.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/wiretap/wtap.c b/wiretap/wtap.c
index 4cf4cba640..75f3f40326 100644
--- a/wiretap/wtap.c
+++ b/wiretap/wtap.c
@@ -1,6 +1,6 @@
/* wtap.c
*
- * $Id: wtap.c,v 1.57 2001/11/28 07:11:10 guy Exp $
+ * $Id: wtap.c,v 1.58 2001/11/30 07:14:22 guy Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
@@ -128,7 +128,10 @@ static const struct encap_type_info {
/* WTAP_ENCAP_CISCO_IOS */
{ "Cisco IOS internal", "ios" },
- /* WTAP_ENCAP_PRISM */
+ /* WTAP_ENCAP_LOCALTALK */
+ { "Localtalk", "ltalk" },
+
+ /* WTAP_ENCAP_PRISM_HEADER */
{ "IEEE 802.11 plus Prism II monitor mode header", "prism" },
};