/* Given a tvbuff, and a length from a packet header, adjust the length of the tvbuff to reflect the specified length.  */
void set_actual_length(tvbuff_t *tvb, const guint specified_len)
/* Given a tvbuff, and a length from a packet header, adjust the length of the tvbuff to reflect the specified length.  */
void set_actual_length(tvbuff_t *tvb, const guint specified_len)
{
	if (specified_len < tvb_reported_length(tvb)) {
		tvb_set_reported_length(tvb, specified_len);
	}
}