Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Nov 2001 16:00:01 -0800 (PST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        freebsd-bugs@FreeBSD.org
Subject:   bin/32129: ntpdc -c does not work as advertised
Message-ID:  <200111210000.fAL001t54428@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/32129; it has been noted by GNATS.

From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To: Ceri <setantae@submonkey.net>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: bin/32129: ntpdc -c does not work as advertised
Date: Tue, 20 Nov 2001 18:51:15 -0500 (EST)

 <<On Tue, 20 Nov 2001 11:28:36 +0000, Ceri <setantae@submonkey.net> said:
 
 >      -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.
 
 Yes, but that doesn't mean what you think it means.
 
 > root@rhadamanth setantae# ntpdc -c "showpeer ntp2b.mcc.ac.uk"
 > remote 130.88.200.98, local 62.254.251.122
 
 This is a query for information *about* ntp2b.mcc.ac.uk from your
 machine, pc3-card3-0-cust122.cdf.cable.ntl.com.
 
 The host on the command line is the host to query.  Compare the output
 of:
 
 	ntpdc -c peers ntp2b.mcc.ac.uk
 
 and:
 
 	ntpdc -c "peers ntp2b.mcc.ac.uk"
 
 When you said:
 
 > root@rhadamanth setantae# ntpdc -c showpeer ntp2b.mcc.ac.uk
 
 ntpdc correctly interepreted that as a request to query
 ntp2b.mcc.ac.uk for some information, but then determined that the
 command you gave it (`showpeer') was not properly formed.
 
 -GAWollman
 

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?200111210000.fAL001t54428>