/* dissect_megaco_text over TCP, there will be a TPKT header there  */
static int dissect_megaco_text_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
/* dissect_megaco_text over TCP, there will be a TPKT header there  */
static int dissect_megaco_text_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
    int lv_tpkt_len;
    lv_tpkt_len = is_tpkt(tvb, 6);
    if (lv_tpkt_len == -1) {
        dissect_megaco_text(tvb, pinfo, tree, data);
    }
    dissect_tpkt_encap(tvb, pinfo, tree, TRUE,
        megaco_text_handle);
    return tvb_captured_length(tvb);
}