/* Published API functions. NOTE, "local" API functions only valid from the packet-opsi file.  */
static void decode_string_attribute(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, proto_item *item, int *hfValue, int offset, int length)
/* Published API functions. NOTE, "local" API functions only valid from the packet-opsi file.  */
static void decode_string_attribute(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, proto_item *item, int *hfValue, int offset, int length)
{
	if (length < 4) {
		expert_add_info(pinfo, item, &ei_opsi_short_attribute);
		return;
	}
	proto_tree_add_item(tree, *hfValue, tvb, offset+4, length-4, ENC_ASCII|ENC_NA);
}