aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-x25.c
diff options
context:
space:
mode:
authorGraeme Lunt <graeme.lunt@smhs.co.uk>2007-03-14 17:28:55 +0000
committerGraeme Lunt <graeme.lunt@smhs.co.uk>2007-03-14 17:28:55 +0000
commitc05709dc7066c8433e8bf7c8874c2dd8e382cde1 (patch)
treea11fd245f64b891fa1aa82f48097163b241b1777 /epan/dissectors/packet-x25.c
parente2c6534c5e1e6854c15a2986d4b566fb2c079c1d (diff)
"When X.264/ISO 11570 default identification is being used, there is no user data field in the
CALL REQUEST packet. This is for X.225/ISO 8073 COTP." Added this default handling. svn path=/trunk/; revision=21026
Diffstat (limited to 'epan/dissectors/packet-x25.c')
-rw-r--r--epan/dissectors/packet-x25.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/dissectors/packet-x25.c b/epan/dissectors/packet-x25.c
index 9705dd3640..6524303cae 100644
--- a/epan/dissectors/packet-x25.c
+++ b/epan/dissectors/packet-x25.c
@@ -1855,6 +1855,12 @@ dissect_x25_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
localoffset++;
}
}
+ } else {
+ /* if there's no user data in the CALL REQUEST/
+ INCOMING CALL packet, it's COTP; */
+
+ x25_hash_add_proto_start(vc, pinfo->fd->num, ositp_handle);
+
}
break;
case X25_CALL_ACCEPTED: