ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: [Ethereal-dev] 802.11 dissector bug in ERP parsing

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Daniel Drake <dsd@xxxxxxxxxx>
Date: Tue, 27 Jun 2006 13:45:11 +0100
Hi,

The barker preamble bit is set when a station associates which does not support short preambles. When it is 0, short preambles are allowed.

Please apply this patch.

Daniel
Index: ethereal-0.99.0/epan/dissectors/packet-ieee80211.c
===================================================================
--- ethereal-0.99.0.orig/epan/dissectors/packet-ieee80211.c
+++ ethereal-0.99.0/epan/dissectors/packet-ieee80211.c
@@ -1834,7 +1834,7 @@ add_tagged_field (packet_info * pinfo, p
         g_snprintf (print_buff, SHORT_STR, "%sNon-ERP STAs, %suse protection, %s preambles",
                   erp_info & 0x01 ? "" : "no ",
                   erp_info & 0x02 ? "" : "do not ",
-                  erp_info & 0x04 ? "short or long": "long");
+                  erp_info & 0x04 ? "long": "short or long");
         print_buff[SHORT_STR-1] = '\0';
         g_snprintf (out_buff, SHORT_STR,
                   "ERP info: 0x%x (%s)",erp_info,print_buff);
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev