From 00ae9b870736a67b219563955a08ff54454008d3 Mon Sep 17 00:00:00 2001 From: stevesk <> Date: Wed, 4 Mar 2009 19:17:36 +0000 Subject: [PATCH] I should know outside data must be vis(3)'d. Don't log kiss code for now. --- src/usr.sbin/ntpd/client.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/usr.sbin/ntpd/client.c b/src/usr.sbin/ntpd/client.c index 3c06112e..19c15e00 100644 --- a/src/usr.sbin/ntpd/client.c +++ b/src/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 @@ -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); }