aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-icmpv6.c
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2011-10-19 23:24:52 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2011-10-19 23:24:52 +0000
commit774ff9b27af13282fe1090f89fb14c2b02b9dd37 (patch)
treef8e5d43c1edfb10166e5c9efa8e7adf7f151b322 /epan/dissectors/packet-icmpv6.c
parent68b68542b67a3ac48661451c7f9aca2dc86878b1 (diff)
Specify ENC_TIME_TIMESPEC for a proto_tree_add_item() encoding arg for a field with type FT_ABSOLUTE_TIME.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39482 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-icmpv6.c')
-rw-r--r--epan/dissectors/packet-icmpv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-icmpv6.c b/epan/dissectors/packet-icmpv6.c
index 652c79d24b..55f8c22a65 100644
--- a/epan/dissectors/packet-icmpv6.c
+++ b/epan/dissectors/packet-icmpv6.c
@@ -1547,7 +1547,7 @@ dissect_icmpv6_nd_opt(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree
* remaining 16 bits indicate the number of 1/64K fractions of a
* second.
*/
- proto_tree_add_item(icmp6opt_tree, hf_icmpv6_opt_timestamp, tvb, opt_offset + 2, 4, ENC_BIG_ENDIAN);
+ proto_tree_add_item(icmp6opt_tree, hf_icmpv6_opt_timestamp, tvb, opt_offset + 2, 4, ENC_TIME_TIMESPEC|ENC_BIG_ENDIAN);
opt_offset += 8;
break;
case ND_OPT_NONCE: /* Nonce option (14) */