From: jake Date: Thu, 26 Oct 2006 14:36:09 +0000 (+0000) Subject: From Xiaoguang Liu X-Git-Url: http://git.samba.org/samba.git/?p=obnox%2Fwireshark%2Fwip.git;a=commitdiff_plain;h=7c7053607326e83713146a18642b8521fc920bbf From Xiaoguang Liu In wireshark a NTP field is displayed as "clock dispersion". But should it be called "root dispersion" as per RFC 1305? git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19705 f5534014-38df-0310-8fa8-9805f1628bb7 --- diff --git a/epan/dissectors/packet-ntp.c b/epan/dissectors/packet-ntp.c index f108117630..9bff5dcb51 100644 --- a/epan/dissectors/packet-ntp.c +++ b/epan/dissectors/packet-ntp.c @@ -539,7 +539,7 @@ dissect_ntp_std(tvbuff_t *tvb, proto_tree *ntp_tree, guint8 flags) (tvb_get_ntohs(tvb, 10) / 65536.0); proto_tree_add_double_format(ntp_tree, hf_ntp_rootdispersion, tvb, 8, 4, rootdispersion, - "Clock Dispersion: %9.4f sec", + "Root Dispersion: %9.4f sec", rootdispersion); /* Now, there is a problem with secondary servers. Standards @@ -846,8 +846,8 @@ proto_register_ntp(void) "Root Delay", "ntp.rootdelay", FT_DOUBLE, BASE_DEC, NULL, 0, "Root Delay", HFILL }}, { &hf_ntp_rootdispersion, { - "Clock Dispersion", "ntp.rootdispersion", FT_DOUBLE, BASE_DEC, - NULL, 0, "Clock Dispersion", HFILL }}, + "Root Dispersion", "ntp.rootdispersion", FT_DOUBLE, BASE_DEC, + NULL, 0, "Root Dispersion", HFILL }}, { &hf_ntp_refid, { "Reference Clock ID", "ntp.refid", FT_BYTES, BASE_NONE, NULL, 0, "Reference Clock ID", HFILL }},