Date: Tue, 20 Nov 2001 11:28:36 +0000 From: Ceri <setantae@submonkey.net> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/32129: ntpdc -c does not work as advertised Message-ID: <E16694u-000Js2-00@rhadamanth.private.submonkey.net>
next in thread | raw e-mail | index | archive | help
>Number: 32129 >Category: bin >Synopsis: ntpdc -c does not work as advertised >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 20 03:30:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: setantae@submonkey.net >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: System: FreeBSD rhadamanth.private.submonkey.net 4.4-STABLE FreeBSD 4.4-STABLE #0: Fri Nov 16 21:14:33 GMT 2001 root@rhadamanth.private.submonkey.net:/usr/obj/usr/src/sys/RHADAMANTH i386 >Description: Not sure if this is a documentation bug or a software bug. The manpage for ntpdc states : SYNOPSIS ntpdc [-ilnps] [-c command] [host ...] -c command The command argument is interpreted as an interactive format com- mand and is added to the list of commands to be executed on the specified host(s). Multiple -c options may be given. which indicates that all commands specified should default to the host given on the command line. This does not happen, since the host is not passed to the command to be executed unless quotes are used. >How-To-Repeat: root@rhadamanth setantae# ntpdc -c showpeer ntp2b.mcc.ac.uk usage: showpeer peer_address [ peer2_addr ] [ peer3_addr ] [ peer4_addr ] root@rhadamanth setantae# ntpdc -c "showpeer ntp2b.mcc.ac.uk" remote 130.88.200.98, local 62.254.251.122 hmode client, pmode unspec, stratum 2, precision -26 leap 00, refid [129.132.2.21], rootdistance 0.02753, rootdispersion 0.02296 ppoll 6, hpoll 6, keyid 0, version 4, association 8676 valid 0, reach 001, unreach 1, flash 0x0000, boffset 0.00400, ttl/mode 0 timer 0s, flags config, bclient reference time: bfa4b80b.3691d9b1 Tue, Nov 20 2001 11:07:55.213 originate timestamp: bfa4bb35.13702602 Tue, Nov 20 2001 11:21:25.075 receive timestamp: bfa4bb35.1581f106 Tue, Nov 20 2001 11:21:25.084 transmit timestamp: bfa4bb35.03d230b9 Tue, Nov 20 2001 11:21:25.014 filter delay: 0.06892 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 filter offset: 0.026381 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 filter order: 0 1 2 3 4 5 6 7 offset 0.026381, delay 0.06892, error bound 2.81735, filter error 0.02467 root@rhadamanth setantae# >Fix: The above _is_ a workaround. However, the documentation suggests that the first method attempted should work. Ceri >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E16694u-000Js2-00>