#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/libpcap/pcap-pf.c,v 1.91 2005-02-26 21:58:06 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/pcap-pf.c,v 1.91.2.1 2005-04-19 00:56:06 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
*/
n = 0;
#ifdef PCAP_FDDIPAD
- pad = p->fddipad;
+ pad = pc->fddipad;
#endif
while (cc > 0) {
/*
*
#ifdef PCAP_FDDIPAD
* Note: the filter code was generated assuming
- * that p->fddipad was the amount of padding
+ * that pc->fddipad was the amount of padding
* before the header, as that's what's required
* in the kernel, so we run the filter before
* skipping that padding.
/* set truncation */
#ifdef PCAP_FDDIPAD
if (p->linktype == DLT_FDDI) {
- p->fddipad = PCAP_FDDIPAD:
+ p->fddipad = PCAP_FDDIPAD;
/* packetfilter includes the padding in the snapshot */
snaplen += PCAP_FDDIPAD;