summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/client.c
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2009-03-04 19:17:37 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2009-03-04 19:17:37 +0000
commitcf6c62c87ac4dfec64755a2f4896381d0976b1b4 (patch)
tree3dba630248b536884499689e4ae45762a2a7f58b /usr.sbin/ntpd/client.c
parentd2570a146290ec305e7a6b5ffd697868f4ce4839 (diff)
I should know outside data must be vis(3)'d.
Don't log kiss code for now.
Diffstat (limited to 'usr.sbin/ntpd/client.c')
-rw-r--r--usr.sbin/ntpd/client.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.sbin/ntpd/client.c b/usr.sbin/ntpd/client.c
index 3c06112e67f..19c15e00d16 100644
--- a/usr.sbin/ntpd/client.c
+++ b/usr.sbin/ntpd/client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: client.c,v 1.83 2009/03/04 18:49:07 stevesk Exp $ */
+/* $OpenBSD: client.c,v 1.84 2009/03/04 19:17:36 stevesk Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -225,11 +225,7 @@ client_dispatch(struct ntp_peer *p, u_int8_t settime)
strlcpy(s, "alarm", sizeof(s));
} else if (msg.stratum == 0) {
/* Kiss-o'-Death (KoD) packet */
- if (msg.refid != 0)
- snprintf(s, sizeof(s), "KoD %.4s",
- (char *)&msg.refid);
- else
- strlcpy(s, "KoD", sizeof(s));
+ strlcpy(s, "KoD", sizeof(s));
} else if (msg.stratum > NTP_MAXSTRATUM) {
snprintf(s, sizeof(s), "stratum %d", msg.stratum);
}