Re: [B.A.T.M.A.N.] [PATCH] batman-adv: fix wrong dhcp option list browsing
From: Marek Lindner <hidden>
Date: 2012-02-28 05:46:48
From: Marek Lindner <hidden>
Date: 2012-02-28 05:46:48
On Monday, February 27, 2012 18:29:53 Antonio Quartulli wrote:
In is_type_dhcprequest(), while parsing a DHCP message, if the entry we found in the option list is neither a padding nor the dhcp-type, we have to ignore it and jump as many bytes as its length + 1. The "+ 1" byte is given by the subtype field itself that has to be jumped too.
Applied in revision 459c4e4. Thanks, Marek