/* XXX - there should perhaps be a preference setting to turn this off, as sometimes it can, and does, get a false hit.  */
static int check_for_old_linux_tvb(tvbuff_t *tvb)
/* XXX - there should perhaps be a preference setting to turn this off, as sometimes it can, and does, get a false hit.  */
static int check_for_old_linux_tvb(tvbuff_t *tvb)
{
	const guint8	*data;
	int		 x, bytes;
	bytes = tvb_captured_length(tvb);
	if (bytes > 19) {
		bytes = 19;
	}
	data = tvb_get_ptr(tvb, 0, bytes);
	for(x = 1; x <= bytes-1 ;x++)
	{
		if (memcmp(&data[0], &data[x], x) == 0)
		{
			return x;
		}
	}
	return 0;
}