tcpdump mailing list archives
patches for HP-UX 11.23
From: Rick Jones <raj () cup hp com>
Date: Thu, 01 Apr 2004 14:11:24 -0800
Seems that some of the "DL_HP_mumble_OBS" defines being looked for in pcap-dlpi.c are no longer present in 11.23. This leaves a routine undefined in the libpcap.c and that makes tcpdump grumpy. The following are some diffs against libpcap-0.8.1 that should address the problem. With this patch I have compiled and run a quick capture on 11.23. # diff -c pcap-dlpi.c.orig pcap-dlpi.c *** pcap-dlpi.c.orig Thu Apr 1 14:02:22 2004 --- pcap-dlpi.c Thu Apr 1 14:03:28 2004 *************** *** 57,63 **** #ifdef HAVE_HPUX9 #include <sys/socket.h> #endif ! #ifdef DL_HP_PPA_ACK_OBS #include <sys/stat.h> #endif #include <sys/stream.h> --- 57,63 ---- #ifdef HAVE_HPUX9 #include <sys/socket.h> #endif ! #ifdef DL_HP_PPA_REQ #include <sys/stat.h> #endif #include <sys/stream.h> *************** *** 1216,1222 **** } #endif ! #ifdef DL_HP_PPA_ACK_OBS /* * Under HP-UX 10 and HP-UX 11, we can ask for the ppa */ --- 1216,1222 ---- } #endif ! #ifdef DL_HP_PPA_REQ /* * Under HP-UX 10 and HP-UX 11, we can ask for the ppa */ rick jones -- Wisdom Teeth are impacted, people are affected by the effects of events. these opinions are mine, all mine; HP might not want them anyway... :) feel free to post, OR email to raj in cup.hp.com but NOT BOTH... - This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe.
Current thread:
- patches for HP-UX 11.23 Rick Jones (Apr 01)
- Re: patches for HP-UX 11.23 Guy Harris (Apr 01)