-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The README.developer sample code shows the dissector callback function
as shown:
/* Code to actually dissect the packets */
static int
dissect_PROTOABBREV(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
/* ... */
/* Return the amount of data this dissector was able to dissect */
return tvb_length(tvb);
}
However, other source shows this function as having return type static
void. Is it not necessary to return the number of bytes the dissector
processed any longer?
Thanks,
- -Josh
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
iEYEARECAAYFAksWrSAACgkQapC4Te3oxYzw0wCfdBcG0CsdMrLIIqOtbhDqNHuh
DeIAn3jZD86PfEa6Xx+VIF8EtSW7ZV20
=DpaT
-----END PGP SIGNATURE-----