aboutsummaryrefslogtreecommitdiffstats
path: root/packet-mmse.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-07-07 22:55:55 +0000
committerGuy Harris <guy@alum.mit.edu>2003-07-07 22:55:55 +0000
commit40a25a551955a0ed15bdc98b20a7b79b3baab9cf (patch)
tree7e66453fb35f6e0c080c158fcfacf35aaf89fae1 /packet-mmse.c
parent19e0e3dc85c35f3780be38b80c6cf46976686e3c (diff)
From Darren Steele: fetch the delivery time from the correct offset.
svn path=/trunk/; revision=7976
Diffstat (limited to 'packet-mmse.c')
-rw-r--r--packet-mmse.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-mmse.c b/packet-mmse.c
index 7f3ff37865..1f4fa51f3a 100644
--- a/packet-mmse.c
+++ b/packet-mmse.c
@@ -2,7 +2,7 @@
* Routines for MMS Message Encapsulation dissection
* Copyright 2001, Tom Uijldert <tom.uijldert@cmg.nl>
*
- * $Id: packet-mmse.c,v 1.18 2003/06/08 16:06:04 gerald Exp $
+ * $Id: packet-mmse.c,v 1.19 2003/07/07 22:55:54 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -448,9 +448,10 @@ dissect_mmse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
nstime_t tmptime;
guint cnt;
- tval = get_long_integer(tvb, offset + count, &cnt);
+ tval = get_long_integer(tvb, offset + count + 1, &cnt);
tmptime.secs = tval;
tmptime.nsecs = 0;
+
if (field == 0x80)
proto_tree_add_time(mmse_tree,
hf_mmse_delivery_time_abs,