summaryrefslogtreecommitdiff
path: root/wiretap/libpcap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-12-11 22:45:24 +0000
committerGuy Harris <guy@alum.mit.edu>2002-12-11 22:45:24 +0000
commit7280374f3d8fc18c394d33a45aa8cd26fcabae10 (patch)
treea74c74a3ea30aee8426b0085c3035482104b13a3 /wiretap/libpcap.c
parent202253482635a37f548e5ac245161a28cc1d8b0d (diff)
downloadwireshark-7280374f3d8fc18c394d33a45aa8cd26fcabae10.tar.gz
Add support for the new DLT_ value of 127, for the AVS WLAN header.
svn path=/trunk/; revision=6780
Diffstat (limited to 'wiretap/libpcap.c')
-rw-r--r--wiretap/libpcap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/wiretap/libpcap.c b/wiretap/libpcap.c
index c3e42135b8..d4235476fe 100644
--- a/wiretap/libpcap.c
+++ b/wiretap/libpcap.c
@@ -1,6 +1,6 @@
/* libpcap.c
*
- * $Id: libpcap.c,v 1.85 2002/11/27 22:23:34 guy Exp $
+ * $Id: libpcap.c,v 1.86 2002/12/11 22:45:24 guy Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
@@ -239,7 +239,8 @@ static const struct {
{ 119, WTAP_ENCAP_PRISM_HEADER }, /* Prism monitor mode hdr */
{ 121, WTAP_ENCAP_HHDLC }, /* HiPath HDLC */
{ 122, WTAP_ENCAP_IP_OVER_FC }, /* RFC 2625 IP-over-FC */
- { 123, WTAP_ENCAP_ATM_SNIFFER }, /* SunATM */
+ { 123, WTAP_ENCAP_ATM_SNIFFER }, /* SunATM */
+ { 127, WTAP_ENCAP_WLAN_HEADER }, /* 802.11 plus WLAN header */
/*
* The following are entries for libpcap type values that have