/* X.25 dissector for use when "pinfo->pseudo_header" doesn't point to a "struct x25_phdr".  */
static int dissect_x25(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
/* X.25 dissector for use when "pinfo->pseudo_header" doesn't point to a "struct x25_phdr".  */
static int dissect_x25(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
    int direction;
    direction = cmp_address(&pinfo->src, &pinfo->dst);
    if (direction == 0)
        direction = (pinfo->srcport > pinfo->destport)*2 - 1;
    dissect_x25_common(tvb, pinfo, tree, X25_UNKNOWN, direction > 0);
    return tvb_captured_length(tvb);
}