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

Wireshark-bugs: [Wireshark-bugs] [Bug 2839] dhcp packet: not all bytes dissected

Date: Tue, 2 Sep 2008 23:14:32 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2839





--- Comment #2 from Guy Harris <guy@xxxxxxxxxxxx>  2008-09-02 23:14:31 PDT ---
The chaddr field is 16 bytes long, but that just leaves room for hardware
addresses longer than 6-byte MAC addresses (in a packet with fixed-length
fields - as RFC 951, the BOOTP RFC says, "Fixed length fields of maximum
reasonable length are used to simplify structure definition and parsing,"
presumably for the benefit of boot ROM code); the hlen field indicates how long
that field is (and htype indicates how it should be interpreted).

We could, I guess, tag the 10 bytes following the 6-byte MAC address of the
client as padding.


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.