aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-10-22 18:48:15 +0000
committerGuy Harris <guy@alum.mit.edu>2002-10-22 18:48:15 +0000
commit671ba8b6a6aa973004173b84d8bbd462ab0d878e (patch)
treed38258f185ce1c5a6731500695096228d2b916a7
parent2a54cd2a769fa9a1a1ea6f44429669a69415fc86 (diff)
Put in a comment noting that not *all* captures with a network type of 3
look like Ethernet captures. svn path=/trunk/; revision=6474
-rw-r--r--wiretap/netxray.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/wiretap/netxray.c b/wiretap/netxray.c
index 04f451fde3..518aa852d7 100644
--- a/wiretap/netxray.c
+++ b/wiretap/netxray.c
@@ -1,6 +1,6 @@
/* netxray.c
*
- * $Id: netxray.c,v 1.59 2002/08/28 20:30:45 jmayer Exp $
+ * $Id: netxray.c,v 1.60 2002/10/22 18:48:15 guy Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
@@ -161,6 +161,14 @@ int netxray_open(wtap *wth, int *err)
WTAP_ENCAP_ETHERNET,
WTAP_ENCAP_TOKEN_RING,
WTAP_ENCAP_FDDI_BITSWAPPED,
+ /*
+ * XXX - PPP captures may look like Ethernet, perhaps
+ * because they're using NDIS to capture on the
+ * same machine and it provides simulated-Ethernet
+ * packets, but at least one ISDN capture uses the
+ * same network type value but isn't shaped like
+ * Ethernet.
+ */
WTAP_ENCAP_ETHERNET, /* WAN(PPP), but shaped like Ethernet */
WTAP_ENCAP_UNKNOWN, /* LocalTalk */
WTAP_ENCAP_UNKNOWN, /* "DIX" - should not occur */