/* 20.2.8, adds the label with Octet String to tree; if lvt == 0 then lvt = restOfFrame  */
static guint fOctetString(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset, const gchar *label, guint32 lvt)
/* 20.2.8, adds the label with Octet String to tree; if lvt == 0 then lvt = restOfFrame  */
static guint fOctetString(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset, const gchar *label, guint32 lvt)
{
    gchar      *tmp;
    guint       start   = offset;
    guint8      tag_no, tag_info;
    proto_tree *subtree = tree;
    offset += fTagHeader(tvb, pinfo, offset, &tag_no, &tag_info, &lvt);
    if (lvt > 0) {
        tmp = tvb_bytes_to_str(wmem_packet_scope(), tvb, offset, lvt);
        subtree = proto_tree_add_subtree_format(tree, tvb, offset, lvt,
                    ett_bacapp_tag, NULL, "%s %s", label, tmp);
        offset += lvt;
    }
    fTagHeaderTree(tvb, pinfo, subtree, start, &tag_no, &tag_info, &lvt);
    return offset;
}