Opened 8 years ago

Last modified 8 years ago

#526 assigned defect

tcpedit_t.editdir does not exist (trunk)

Reported by: cruvolo@… Owned by: Aaron Turner
Priority: low Milestone: 4.0.0
Component: libtcpedit Version:
Keywords: Cc:
Operating System: Linux Add to FAQ?: no
Hardware: Intel
Output of tcpreplay -V: tcpreplay version: 4.0.0alpha1 (build 2648) Copyright 2000-2010 by Aaron Turner <aturner at synfin dot net> The entire Tcpreplay Suite is licensed under the GPLv3 Cache file supported: 04 Not compiled with libdnet. Compiled against libpcap: libpcap version 1.3.0 64 bit packet counters: enabled Verbose printing via tcpdump: enabled Packet editing: disabled Fragroute engine: disabled Injection method: PF_PACKET send()


Build output:

[ 33%] Building C object src/tcpedit/CMakeFiles/tcpedit.dir/tcpedit.c.o
/root/src/tcpreplay-trunk/src/tcpedit/tcpedit.c: In function 'tcpedit_checkdir':
/root/src/tcpreplay-trunk/src/tcpedit/tcpedit.c:61: error: 'tcpedit_t' has no member named 'editdir'
compilation terminated due to -Wfatal-errors.
make[2]: *** [src/tcpedit/CMakeFiles/tcpedit.dir/tcpedit.c.o] Error 1
# gcc --version
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-52)
# cat /etc/redhat-release 
CentOS release 5.4 (Final)

Commenting out tcpedit_checkdir() and the following line in tcpedit_init() allows the compilation to succeed:

  // tcpedit->editdir = TCPEDIT_EDIT_BOTH;

Change History (1)

comment:1 Changed 8 years ago by Aaron Turner

Status: newassigned
Note: See TracTickets for help on using tickets.