Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #5 from alonbl/aix

[PATCH] Fix AIX-3.5 crash with read failure during stress
  • Loading branch information...
commit 7675f916e6a2252f88b267f9310b2bd49f80f3e1 2 parents a15a4e6 + 5374979
@mcr authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 pcap-bpf.c
4 pcap-bpf.c
@@ -1456,7 +1456,11 @@ check_setif_failure(pcap_t *p, int error)
* 32K isn't very much for modern machines with fast networks; we
* pick .5M, as that's the maximum on at least some systems with BPF.
+#ifdef _AIX
+#define DEFAULT_BUFSIZE 32768
#define DEFAULT_BUFSIZE 524288
static int
pcap_activate_bpf(pcap_t *p)
Please sign in to comment.
Something went wrong with that request. Please try again.