diff options
author | Anders Broman <anders.broman@ericsson.com> | 2005-05-26 20:13:42 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2005-05-26 20:13:42 +0000 |
commit | 93eee03ae879c9c5f99450c0092fbe6c80585c43 (patch) | |
tree | a1496b4a803a0fbb3fcd4dccbb1082b7ec01071f | |
parent | 7f936ea1c4daa516317601e4703cd8a5d5dd97f4 (diff) | |
download | wireshark-93eee03ae879c9c5f99450c0092fbe6c80585c43.tar.gz wireshark-93eee03ae879c9c5f99450c0092fbe6c80585c43.tar.bz2 wireshark-93eee03ae879c9c5f99450c0092fbe6c80585c43.zip |
From Martin Mathieson:
This 2-liner:
- adds the correct item for localconnectionoptions param
- recognises the message verb "MESG"
svn path=/trunk/; revision=14444
-rw-r--r-- | plugins/mgcp/packet-mgcp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/mgcp/packet-mgcp.c b/plugins/mgcp/packet-mgcp.c index e338d1bfaf..baf9c7edd6 100644 --- a/plugins/mgcp/packet-mgcp.c +++ b/plugins/mgcp/packet-mgcp.c @@ -967,6 +967,7 @@ static gboolean is_mgcp_verb(tvbuff_t *tvb, gint offset, gint maxlength, gchar * ((strncasecmp(word, "AUEP", 4) == 0) && (*verb_name = "AuditEndpoint")) || ((strncasecmp(word, "AUCX", 4) == 0) && (*verb_name = "AuditConnection")) || ((strncasecmp(word, "RSIP", 4) == 0) && (*verb_name = "RestartInProgress")) || + ((strncasecmp(word, "MESG", 4) == 0) && (*verb_name = "Message")) || (word[0] == 'X' && is_rfc2234_alpha(word[1]) && is_rfc2234_alpha(word[2]) && is_rfc2234_alpha(word[3]) && (*verb_name = "*Experimental*"))) { @@ -1878,7 +1879,7 @@ dissect_mgcp_localconnectionoptions(proto_tree *parent_tree, tvbuff_t *tvb, gint if (parent_tree) { - item = proto_tree_add_item(parent_tree, hf_mgcp_param_connectionparam, tvb, offset, param_type_len+param_val_len, FALSE); + item = proto_tree_add_item(parent_tree, hf_mgcp_param_localconnoptions, tvb, offset, param_type_len+param_val_len, FALSE); tree = proto_item_add_subtree(item, ett_mgcp_param_localconnectionoptions); } |