Highlight the whole hostname, even if we've truncated it in the display.
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 24 Jun 2008 19:18:21 +0000 (19:18 +0000)
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 24 Jun 2008 19:18:21 +0000 (19:18 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25586 f5534014-38df-0310-8fa8-9805f1628bb7

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,