aboutsummaryrefslogtreecommitdiffstats
path: root/packet-raw.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-03-30 06:15:47 +0000
committerGuy Harris <guy@alum.mit.edu>2001-03-30 06:15:47 +0000
commita65579287dfd4aa701d3cc8086639cef429f7484 (patch)
treed59471ef573cc87cea5c3cdabd05d7678aa34fce /packet-raw.c
parent949888c04a7a85b847da144d14bf51eedb5bad94 (diff)
Call the capture routine for PPP-in-HDLC-like-framing (RFC 1662) the
"ppp_hdlc" capture routine. svn path=/trunk/; revision=3209
Diffstat (limited to 'packet-raw.c')
-rw-r--r--packet-raw.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/packet-raw.c b/packet-raw.c
index be9d2b0681..e14f583c75 100644
--- a/packet-raw.c
+++ b/packet-raw.c
@@ -1,7 +1,7 @@
/* packet-raw.c
* Routines for raw packet disassembly
*
- * $Id: packet-raw.c,v 1.25 2001/03/30 06:10:54 guy Exp $
+ * $Id: packet-raw.c,v 1.26 2001/03/30 06:15:47 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -58,16 +58,16 @@ capture_raw(const u_char *pd, packet_counts *ld)
* sometimes. This check should be removed when 2.2 is out.
*/
if (BYTES_ARE_IN_FRAME(0,2) && pd[0] == 0xff && pd[1] == 0x03) {
- capture_ppp(pd, 0, ld);
+ capture_ppp_hdlc(pd, 0, ld);
}
/* The Linux ISDN driver sends a fake MAC address before the PPP header
* on its ippp interfaces... */
else if (BYTES_ARE_IN_FRAME(0,8) && pd[6] == 0xff && pd[7] == 0x03) {
- capture_ppp(pd, 6, ld);
+ capture_ppp_hdlc(pd, 6, ld);
}
/* ...except when it just puts out one byte before the PPP header... */
else if (BYTES_ARE_IN_FRAME(0,3) && pd[1] == 0xff && pd[2] == 0x03) {
- capture_ppp(pd, 1, ld);
+ capture_ppp_hdlc(pd, 1, ld);
}
/* ...and if the connection is currently down, it sends 10 bytes of zeroes
* instead of a fake MAC address and PPP header. */