Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] [PATCH] hex_str_to_bytes and NULL tests

From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Sun, 4 Feb 2007 11:23:53 -0800
On Sun, Feb 04, 2007 at 01:38:28PM +0100, Sebastien Tandel wrote:

>    Steve has modified a while ago hex_str_to_bytes to handle Cisco MAC 
> format (xxxx.xxxx.xxxx). It did not test the nullity of the third and 
> fourth byte (*r, *s) which is however done for the second byte.

> Here is a light patch to follow the logic of the conditional tests 
> done in the function.

Committed as SVN revision 20714.  Thanks!


Steve