ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Patch to packet-eth.c to clarify address ig/lg bits

From: "ronnie sahlberg" <ronniesahlberg@xxxxxxxxx>
Date: Fri, 25 Aug 2006 21:34:38 +0000
checked in with two changes

Only dissect the LG bit if it is a unicast address (i think this makes sense)

Put a hint what the LG bit actually means in the dissect tree



On 8/24/06, Stephen Fisher <stephentfisher@xxxxxxxxx> wrote:

Attached is a patch to clarify the local/global (lg bit) and
individual/group (ig bit) address bits in Ethernet MAC addresses.  The
current code identifies the ig bit as "multicast" although it is
actually set for both multicast and broadcast addresses.

Current display example:

Destination: Broadcast (ff:ff:ff:ff:ff:ff)
  Address: Broadcast (ff:ff:ff:ff:ff:ff)
  .... ...1 .... .... .... .... = Multicast: This is a MULTICAST frame
  .... ..1. .... .... .... .... = Locally Administrated Address: This \
       is NOT a factory default address

New display example:

Destination: Broadcast (ff:ff:ff:ff:ff:ff)
  Address: Broadcast (ff:ff:ff:ff:ff:ff)
  .... ...1 .... .... .... .... = IG bit: Group address \
       (multicast/broadcast)
  .... ..1. .... .... .... .... = LG bit: Locally administered address

Along with new descriptions in the bottom of screen field description.


Steve