Hi Eddie, I sent a patch some time ago regarding big-endian problems in radiotapdecap.cc. Somehow I missed sending one of the changes in my local tree and just noticed today that it wasn't applied to your tree.
Attached is another one liner. Alastair
From 44bc672a7708f61d88aaf71d902d458d141dbaac Mon Sep 17 00:00:00 2001 From: Alastair McKinley <[email protected]> Date: Mon, 16 Nov 2009 16:20:24 +0000 Subject: [PATCH] Pull the correct amount of bytes on big-endian --- elements/wifi/radiotapdecap.cc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/elements/wifi/radiotapdecap.cc b/elements/wifi/radiotapdecap.cc index aef3e8e..6becbd1 100644 --- a/elements/wifi/radiotapdecap.cc +++ b/elements/wifi/radiotapdecap.cc @@ -160,7 +160,7 @@ RadiotapDecap::simple_action(Packet *p) if (rt_el_present(th, IEEE80211_RADIOTAP_DATA_RETRIES)) ceh->retries = *((u_int8_t *) rt_el_offset(th, IEEE80211_RADIOTAP_DATA_RETRIES)); - p->pull(th->it_len); + p->pull(le16_to_cpu(th->it_len)); } return p; -- 1.6.3.3
_______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
