Wireshark-dev: Re: [Wireshark-dev] wireshark decode as..??
From: Jakub Zawadzki <[email protected]>
Date: Tue, 23 Mar 2010 00:50:55 +0100
On Tue, Mar 23, 2010 at 10:09:19AM +1100, ronnie sahlberg wrote:
> You also shouldnt hardcode the size of the array in the for loop like
> that,   use something like      sizeof[ports] / sizeof(ports[0])
> instead.

Or better use wireshark array_length() macro.