Highlight the whole hostname, even if we've truncated it in the display.
authorGerald Combs <gerald@wireshark.org>
Tue, 24 Jun 2008 19:18:21 +0000 (19:18 -0000)
committerGerald Combs <gerald@wireshark.org>
Tue, 24 Jun 2008 19:18:21 +0000 (19:18 -0000)
svn path=/trunk/; revision=25586

epan/dissectors/packet-rmi.c

index 1d8a4e355d7e164ec8015d83fa852ee89b43a492..b99a667917a76a2228d3bf694ee6f9089f1c1c18 100644 (file)
@@ -210,7 +210,7 @@ dissect_rmi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                        epid_hostname = "[Empty]";
                }
                proto_tree_add_string(rmi_tree, hf_rmi_epid_hostname,
-                                     tvb, offset + 3, epid_len, epid_hostname);
+                                     tvb, offset + 3, len, epid_hostname);
 
                port = tvb_get_ntohs(tvb, offset + len + 5);
                proto_tree_add_uint(rmi_tree, hf_rmi_epid_port,