From 9dbe9adf50b74ec789b4f2163b190f258f4e77fa Mon Sep 17 00:00:00 2001 From: Luis Ontanon Date: Tue, 27 Mar 2007 23:00:55 +0000 Subject: Another iteration over sctp calls (RANAP/BSSAP) a step towards TCAP/(MAP/IMAP/CAMEL) - Fix SUA calls (I would need some more traces to test this) svn path=/trunk/; revision=21235 --- gtk/voip_calls.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gtk/voip_calls.c') diff --git a/gtk/voip_calls.c b/gtk/voip_calls.c index 1c9e4e911b..caaa549a4a 100644 --- a/gtk/voip_calls.c +++ b/gtk/voip_calls.c @@ -2906,7 +2906,7 @@ const value_string* sccp_payload_values; static int sccp_calls(packet_info *pinfo, const void *prot_info) { voip_calls_tapinfo_t *tapinfo = &the_tapinfo_struct; const sccp_msg_info_t* msg = prot_info; - sccp_assoc_info_t* assoc = msg->assoc; + sccp_assoc_info_t* assoc = msg->data.co.assoc; GList* list; voip_calls_info_t *strinfo = NULL; const gchar* label = NULL; @@ -2986,14 +2986,14 @@ static int sccp_calls(packet_info *pinfo, const void *prot_info) { } } - if (msg->label) { - label = msg->label; + if (msg->data.co.label) { + label = msg->data.co.label; } else { label = val_to_str(msg->type, sccp_payload_values, "Unknown(%d)"); } - if (msg->comment) { - comment = msg->comment; + if (msg->data.co.comment) { + comment = msg->data.co.comment; } else { comment = ""; } -- cgit v1.2.3