tcpdump mailing list archives

pcap-dlpi.c patch for 1.0.0


From: Albert Chin <tcpdump-workers () mlists thewrittenword com>
Date: Mon, 1 Dec 2008 11:08:18 -0600

pcap-dlpi.c in pcap_activate_dlpi() conditionalizes the `ss' variable:
  #ifdef HAVE_SYS_BUFMOD_H
    bpf_u_int32 ss;
but then uses it unconditionalized:
  ss = p->snapshot;

Patch attached.

-- 
albert chin (china () thewrittenword com)

Attachment: p
Description: patch

-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.

Current thread: