Opened 12 years ago

Closed 11 years ago

#273 closed defect (fixed)

libpacketdump cannot decode the header following Linux SLL

Reported by: salcock Owned by: perry
Priority: major Milestone: libtrace3
Component: libtrace-library Version:
Keywords: Cc:

Description

Trying to run tracepktdump on the Wireless 1 trace results in the following output:

tracepktdump -c 1 pcapfile:/trace/wireless/1/wireless-i.pcap.gz 

Fri Mar  7 22:52:16 2008
 Capture: Packet Length: 178/178 Direction Value: 1
 Linux SLL: Packet Type = HOST
 Linux SLL: Hardware Address Type = 0x0323
 Linux SLL: Hardware Address Length = 6
 Linux SLL: Hardware Address = 00:00:02:7b:c4:7f
 Linux SLL: Protocol = 0x0019
tracepktdump: symbol lookup error: /home/salcock/install//lib/libpacketdump/link_6.so: undefined symbol: arphrd_type_to_libtrace

arphrd_type_to_libtrace is only defined locally within the libtrace library. The question is: do we want to make this an external function so that link_6.c can use it, or should we just copy and paste the code for that function into link_6.c and hope we never have to change it?

Change History (1)

comment:1 Changed 11 years ago by perry

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

Fixed in r1583

Note: See TracTickets for help on using tickets.