aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/h245/h245.cnf
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2006-02-23 20:03:06 +0000
committerAnders Broman <anders.broman@ericsson.com>2006-02-23 20:03:06 +0000
commita4f86caf80346dbd8753434b9a80ed65dda96350 (patch)
tree74151a305b845e745cfd8aba460bf1a4ac0e14a2 /asn1/h245/h245.cnf
parent1fd7fbdb1d7756ee868b3bee131f1a5fe251ed7d (diff)
downloadwireshark-a4f86caf80346dbd8753434b9a80ed65dda96350.tar.gz
wireshark-a4f86caf80346dbd8753434b9a80ed65dda96350.tar.bz2
wireshark-a4f86caf80346dbd8753434b9a80ed65dda96350.zip
From Alejandro Vaquero:
a patch for the VoipCalls to fix a couple of issues: - a problem with the RTP Events (RFC2833) not been handle correctly - Display the RTP stream in time order when the setup frame is after the RTP stream. - fix a init issue that caused the H245 packet to not been displayed correctly. svn path=/trunk/; revision=17384
Diffstat (limited to 'asn1/h245/h245.cnf')
-rw-r--r--asn1/h245/h245.cnf10
1 files changed, 6 insertions, 4 deletions
diff --git a/asn1/h245/h245.cnf b/asn1/h245/h245.cnf
index 48ece0c3e6..78b75c9fde 100644
--- a/asn1/h245/h245.cnf
+++ b/asn1/h245/h245.cnf
@@ -279,7 +279,7 @@ OpenLogicalChannel
else
g_snprintf(h245_pi->frame_label, 50, "%%s ", val_to_str(value, h245_RequestMessage_short_vals, "UKN"));
- g_snprintf(h245_pi->comment, 50, "%%s %%s ", h245_pi->comment, val_to_str(value, h245_RequestMessage_vals, "<unknown>"));
+ g_strlcat(h245_pi->comment, val_to_str(value, h245_RequestMessage_vals, "<unknown>"), 50);
/* if it is OLC or RM*/
if ((codec_type != NULL) && (( value == 3) || ( value == 8)))
@@ -307,7 +307,8 @@ OpenLogicalChannel
/* Add to packet info */
g_snprintf(h245_pi->frame_label, 50, "%%s %%s ", h245_pi->frame_label, val_to_str(value, h245_ResponseMessage_short_vals, "UKN"));
- g_snprintf(h245_pi->comment, 50, "%%s %%s ", h245_pi->comment, val_to_str(value, h245_ResponseMessage_vals, "<unknown>"));
+ g_strlcat(h245_pi->comment, val_to_str(value, h245_ResponseMessage_vals, "<unknown>"), 50);
+
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY IndicationMessage VAL_PTR = &value
@@ -330,7 +331,8 @@ OpenLogicalChannel
col_set_fence(pinfo->cinfo,COL_INFO);
/* Add to packet info */
g_snprintf(h245_pi->frame_label, 50, "%%s %%s ", h245_pi->frame_label, val_to_str(value, h245_IndicationMessage_short_vals, "UKN"));
- g_snprintf(h245_pi->comment, 50, "%%s %%s ", h245_pi->comment, val_to_str(value, h245_IndicationMessage_vals, "<unknown>"));
+ g_strlcat(h245_pi->comment, val_to_str(value, h245_IndicationMessage_vals, "<unknown>"), 50);
+
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY CommandMessage VAL_PTR = &value
@@ -353,7 +355,7 @@ OpenLogicalChannel
col_set_fence(pinfo->cinfo,COL_INFO);
/* Add to packet info */
g_snprintf(h245_pi->frame_label, 50, "%%s %%s ", h245_pi->frame_label, val_to_str(value, h245_CommandMessage_short_vals, "UKN"));
- g_snprintf(h245_pi->comment, 50, "%%s %%s ", h245_pi->comment, val_to_str(value, h245_CommandMessage_vals, "<unknown>"));
+ g_strlcat(h245_pi->comment, val_to_str(value, h245_CommandMessage_vals, "<unknown>"), 50);
#.END
#----------------------------------------------------------------------------------------