diff options
-rw-r--r-- | usr.sbin/ntpd/client.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ntpd/client.c b/usr.sbin/ntpd/client.c index 71bf9580bad..d903f02c532 100644 --- a/usr.sbin/ntpd/client.c +++ b/usr.sbin/ntpd/client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: client.c,v 1.8 2004/07/06 17:40:32 naddy Exp $ */ +/* $OpenBSD: client.c,v 1.9 2004/07/06 18:45:29 jason Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -144,7 +144,8 @@ client_dispatch(struct ntp_peer *p) p->next = time(NULL) + INTERVAL_QUERY; p->deadline = 0; - log_debug("reply received: offset %f delay %f", p->offset[p->shift], + log_debug("reply received from %s: offset %f delay %f", + log_sockaddr((struct sockaddr *)&fsa), p->offset[p->shift], p->delay[p->shift]); if (++p->shift >= OFFSET_ARRAY_SIZE) { |