Better read NTP LSW from the right spot
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 6 Apr 2006 20:47:22 +0000 (20:47 +0000)
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 6 Apr 2006 20:47:22 +0000 (20:47 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17836 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-rtcp.c

index 0f31d8a81c06b5954b10162dacb7792a347dd34b..e1309248cf32c17cff7e264d9161b92628795e4f 100644 (file)
@@ -1469,7 +1469,7 @@ dissect_rtcp_sr( packet_info *pinfo, tvbuff_t *tvb, int offset, proto_tree *tree
        proto_tree_add_item(tree, hf_rtcp_ntp_msw, tvb, offset, 4, FALSE);
 
        ts_lsw = tvb_get_ntohl(tvb, offset+4);
-       proto_tree_add_item(tree, hf_rtcp_ntp_lsw, tvb, offset, 4, FALSE);
+       proto_tree_add_item(tree, hf_rtcp_ntp_lsw, tvb, offset+4, 4, FALSE);
 
        buff=ntp_fmt_ts(tvb_get_ptr( tvb, offset, 8 ));
        item = proto_tree_add_string_format( tree, hf_rtcp_ntp, tvb, offset, 8, ( const char* ) buff, "MSW and LSW as NTP timestamp: %s", buff );