Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17903 - Kismet dumps are unreadable due to bad PCAP_MAGIC
Summary: Kismet dumps are unreadable due to bad PCAP_MAGIC
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-20 20:40 UTC by Robert Czechowski
Modified: 2006-02-04 06:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Czechowski 2003-03-20 20:40:19 UTC
#ifndef WORDS_BIGENDIAN 
// Little endian magic 
#define PCAP_MAGIC          0xa1b2c3d4 
#else 
// Big endian magic 
#define PCAP_MAGIC          0xd4c3b2a1 
#endif 
 
Shouldn't this be switched in the wtaplocaldump.h 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Pieter Van den Abeele (RETIRED) gentoo-dev 2003-07-15 03:10:37 UTC
nope, this is correct:

LITTLE endian = 0xa1b2c3d4
BIG    endian = 0xd4c3b2a1

and that is exactly what the code you cc'ed says.

Can you please verify the issue you described still exists?