Skip to content
Snippets Groups Projects
Commit 571d20a0 authored by Phil's avatar Phil
Browse files

Fixed radiotap len: from host order to little endian (ticket #132)

parent bb59680a
No related branches found
No related tags found
No related merge requests found
...@@ -113,7 +113,7 @@ class RadioTap(Packet): ...@@ -113,7 +113,7 @@ class RadioTap(Packet):
name = "RadioTap dummy" name = "RadioTap dummy"
fields_desc = [ ByteField('version', 0), fields_desc = [ ByteField('version', 0),
ByteField('pad', 0), ByteField('pad', 0),
FieldLenField('len', None, 'notdecoded', '@H', adjust=lambda pkt,x:x+8), FieldLenField('len', None, 'notdecoded', '<H', adjust=lambda pkt,x:x+8),
FlagsField('present', None, -32, ['TSFT','Flags','Rate','Channel','FHSS','dBm_AntSignal', FlagsField('present', None, -32, ['TSFT','Flags','Rate','Channel','FHSS','dBm_AntSignal',
'dBm_AntNoise','Lock_Quality','TX_Attenuation','dB_TX_Attenuation', 'dBm_AntNoise','Lock_Quality','TX_Attenuation','dB_TX_Attenuation',
'dBm_TX_Power', 'Antenna', 'dB_AntSignal', 'dB_AntNoise', 'dBm_TX_Power', 'Antenna', 'dB_AntSignal', 'dB_AntNoise',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment