aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rmi.c
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2008-06-24 19:18:21 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2008-06-24 19:18:21 +0000
commitda4150e22af1af2757582d04f1ff684765a3cd67 (patch)
treee5933bfbeb1479bdd92a1400afb20b313e356cb9 /epan/dissectors/packet-rmi.c
parentf051583e87f8adeb4a872ebe8e4c26adf039798c (diff)
Highlight the whole hostname, even if we've truncated it in the display.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25586 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-rmi.c')
-rw-r--r--epan/dissectors/packet-rmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-rmi.c b/epan/dissectors/packet-rmi.c
index 1d8a4e355d..b99a667917 100644
--- a/epan/dissectors/packet-rmi.c
+++ b/epan/dissectors/packet-rmi.c
@@ -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,