aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-02-18 19:44:51 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-02-18 19:44:51 +0000
commitd59b60246dc22e192dc2c3c6acd4317bcd1fd91c (patch)
treef4734c8e2cce463f64f4858d6bbc71b538513e6e /packet-dcerpc.c
parent30667cbc9f170a0a92231646a12e55751ee35268 (diff)
using G_MAXFLOAT and G_MAXDOUBLE,
DCERPC is talking about a response, not a reply svn path=/trunk/; revision=10096
Diffstat (limited to 'packet-dcerpc.c')
-rw-r--r--packet-dcerpc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/packet-dcerpc.c b/packet-dcerpc.c
index bdceb45a6f..89fbc1615f 100644
--- a/packet-dcerpc.c
+++ b/packet-dcerpc.c
@@ -3,7 +3,7 @@
* Copyright 2001, Todd Sabin <tas@webspan.net>
* Copyright 2003, Tim Potter <tpot@samba.org>
*
- * $Id: packet-dcerpc.c,v 1.160 2004/02/18 05:55:15 guy Exp $
+ * $Id: packet-dcerpc.c,v 1.161 2004/02/18 19:44:51 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -935,7 +935,7 @@ dissect_dcerpc_float(tvbuff_t *tvb, gint offset, packet_info *pinfo _U_,
default:
/* ToBeDone: non IEEE floating formats */
/* Set data to a negative infinity value */
- data = -1.0 * 1e100 * 1e100;
+ data = -G_MAXFLOAT;
if (tree) {
proto_tree_add_debug_text(tree, "DCE RPC: dissection of non IEEE floating formats currently not implemented (drep=%u)!", drep[1]);
}
@@ -969,7 +969,7 @@ dissect_dcerpc_double(tvbuff_t *tvb, gint offset, packet_info *pinfo _U_,
default:
/* ToBeDone: non IEEE double formats */
/* Set data to a negative infinity value */
- data = -1.0 * 1e100 * 1e100;
+ data = -G_MAXDOUBLE;
if (tree) {
proto_tree_add_debug_text(tree, "DCE RPC: dissection of non IEEE double formats currently not implemented (drep=%u)!", drep[1]);
}
@@ -1806,7 +1806,7 @@ dcerpc_try_handoff (packet_info *pinfo, proto_tree *tree,
if (check_col (pinfo->cinfo, COL_INFO)) {
col_add_fstr (pinfo->cinfo, COL_INFO, "%s %s",
- name, info->request ? "request" : "reply");
+ name, info->request ? "request" : "response");
}
if (tree) {
@@ -4514,7 +4514,7 @@ proto_register_dcerpc (void)
{ "Defragmentation error", "dcerpc.fragment.error", FT_FRAMENUM, BASE_NONE, NULL, 0x0, "Defragmentation error due to illegal fragments", HFILL }},
{ &hf_dcerpc_time,
- { "Time from request", "dcerpc.time", FT_RELATIVE_TIME, BASE_NONE, NULL, 0, "Time between Request and Reply for DCE-RPC calls", HFILL }},
+ { "Time from request", "dcerpc.time", FT_RELATIVE_TIME, BASE_NONE, NULL, 0, "Time between Request and Response for DCE-RPC calls", HFILL }},
{ &hf_dcerpc_reassembled_in,
{ "This PDU is reassembled in", "dcerpc.reassembled_in", FT_FRAMENUM, BASE_NONE, NULL, 0x0, "The DCE/RPC PDU is completely reassembled in this frame", HFILL }},