Ticket #64 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

'make test' fails on little endian systems

Reported by: aturner Owned by: aturner
Priority: medium Milestone: 3.0.RC1
Component: tcprewrite Version: 3.0.beta9
Keywords: Cc:
Operating System: Add to FAQ?: no
Hardware: Intel
Output of tcpreplay -V:

Description

libpcap always writes in host byte order. The result is that tcprewrite's tests fail on little endian systems because test/test.pcap is in big endian format. suck.

Change History

comment:1 Changed 4 years ago by aturner

  • Component changed from tcpreplay to tcprewrite

comment:2 Changed 3 years ago by aturner

  • Status changed from new to closed
  • Resolution set to fixed

(In [1763]) use test2.rewrite_* for little endian tests. fixes #64

comment:3 Changed 3 years ago by aturner

  • Status changed from closed to reopened
  • Resolution fixed deleted

comment:4 Changed 3 years ago by aturner

  • Status changed from reopened to closed
  • Resolution set to fixed

(In [1764]) whoops, forgot to commit this in configure.in. really fixes #64

comment:5 Changed 3 years ago by aturner

  • Status changed from closed to reopened
  • Resolution fixed deleted

comment:6 Changed 3 years ago by aturner

Note: due to bug #130 which I've added support for in my own testbed, the current make test will fail on everyone else's system because nobody else has my libpcap patch.

comment:7 Changed 3 years ago by aturner

(In [1765]) fix various brokenness. refs #64

comment:8 Changed 3 years ago by aturner

  • Status changed from reopened to closed
  • Resolution set to fixed

successful test run on my linux box. Won't work for anyone else (see #130) but oh well, i doubt anyone else uses it anyways :)

comment:9 Changed 3 years ago by aturner

  • Add to FAQ? unset
  • Status changed from closed to reopened
  • Resolution fixed deleted

comment:10 Changed 3 years ago by aturner

  • Status changed from reopened to closed
  • Resolution set to fixed

(In [1810]) initial checkin used my pcap_snaplen_override() which of course nobody else has. So until 0.9.6 is released (which should fix this issue), use my broken version. fixes #64 also refs #130

Note: See TracTickets for help on using tickets.