diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-03-30 06:15:47 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-03-30 06:15:47 +0000 |
commit | a65579287dfd4aa701d3cc8086639cef429f7484 (patch) | |
tree | d59471ef573cc87cea5c3cdabd05d7678aa34fce /capture.c | |
parent | 949888c04a7a85b847da144d14bf51eedb5bad94 (diff) | |
download | wireshark-a65579287dfd4aa701d3cc8086639cef429f7484.tar.gz wireshark-a65579287dfd4aa701d3cc8086639cef429f7484.tar.bz2 wireshark-a65579287dfd4aa701d3cc8086639cef429f7484.zip |
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 'capture.c')
-rw-r--r-- | capture.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ /* capture.c * Routines for packet capture windows * - * $Id: capture.c,v 1.144 2001/03/15 09:11:00 guy Exp $ + * $Id: capture.c,v 1.145 2001/03/30 06:15:47 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -1165,7 +1165,7 @@ pipe_dispatch(int fd, loop_data *ld, struct pcap_hdr *hdr) capture_null(pd, &ld->counts); break; case WTAP_ENCAP_PPP: - capture_ppp(pd, 0, &ld->counts); + capture_ppp_hdlc(pd, 0, &ld->counts); break; case WTAP_ENCAP_RAW_IP: capture_raw(pd, &ld->counts); @@ -1881,7 +1881,7 @@ capture_pcap_cb(u_char *user, const struct pcap_pkthdr *phdr, capture_null(pd, &ld->counts); break; case WTAP_ENCAP_PPP: - capture_ppp(pd, 0, &ld->counts); + capture_ppp_hdlc(pd, 0, &ld->counts); break; case WTAP_ENCAP_RAW_IP: capture_raw(pd, &ld->counts); |