Subject: Re: CVS commit: src/usr.sbin/ntp/ntptrace
To: None <current-users@NetBSD.org>
From: Nicolas Joly <email@example.com>
Date: 12/28/2003 18:14:48
On Sun, Dec 28, 2003 at 12:36:56PM +0100, Bernd Ernesti wrote:
> IMHO such hacks shouldn't be done.
> Change /etc/nsswitch.conf or use 127.0.0.1 if you really want it.
I don't really want it.
But without any argument, as described in the man page, ntptrace
checks for localhost first, which generate a warning :
njoly@hal [~]> ntptrace
Host not found.
localhost: stratum 2, offset -0.000758, synch distance 0.049004
ntp.pasteur.fr: stratum 1, offset 0.000516, synch distance 0.012820, refid 'TDF'
> On Sat, Dec 27, 2003 at 12:58:35AM +0000, Thomas Klausner wrote:
> > Module Name: src
> > Committed By: wiz
> > Date: Sat Dec 27 00:58:35 UTC 2003
> > Modified Files:
> > src/usr.sbin/ntp/ntptrace: ntptrace.awk
> > Log Message:
> > Immediately return from dhost() if host is localhost, to
> > avoid a warning from host(1).
> > From Nicolas Joly in PR 23897.
> > To generate a diff of this commit:
> > cvs rdiff -r1.3 -r1.4 src/usr.sbin/ntp/ntptrace/ntptrace.awk
> > Please note that diffs are not public domain; they are subject to the
> > copyright notices on the relevant files.
Biological Software and Databanks.
Institut Pasteur, Paris.