Just comment out these lines of code (src/common/sendpacket.c:411) fd = pcap_get_selectable_fd(pcap); if (ioctl(fd, BIOCSHDRCMPLT, &spoof_eth_src) == -1) errx(1, "Unable to enable source MAC spoof support: %s", strerror(errno));
for now. On Oct 31, 2007 2:32 PM, Bojan Smojver <[EMAIL PROTECTED]> wrote: > Getting compilation failures on Fedora 7 through 9: > -------------------------------------- > gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -I../.. -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -std=gnu99 > -D_U_="__attribute__((unused))" -MT tcpdump.o -MD -MP > -MF .deps/tcpdump.Tpo -c -o tcpdump.o tcpdump.c > sendpacket.c: In function 'sendpacket_open_pcap': > sendpacket.c:411: error: 'BIOCSHDRCMPLT' undeclared (first use in this > function) > sendpacket.c:411: error: (Each undeclared identifier is reported only once > sendpacket.c:411: error: for each function it appears in.) > -------------------------------------- > > The BIOCSHDRCMPLT, isn't that part of bpf.h? I can't see that in > pcap-bpf.h (libpcap 0.9.7). Any ideas? > > -- > Bojan > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Tcpreplay-users mailing list > Tcpreplay-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tcpreplay-users > -- Aaron Turner http://synfin.net/ http://tcpreplay.synfin.net/ - Pcap editing & replay tools for Unix They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Tcpreplay-users mailing list Tcpreplay-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tcpreplay-users