From: Harlan Stenn Date: Sat, 1 Apr 2006 10:14:27 +0000 (-0500) Subject: Ignore control characters X-Git-Tag: NTP_4_2_1P10_RC~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e9c31b23eeb5b204c43535bafde68c18fb225e7;p=thirdparty%2Fntp.git Ignore control characters bk: 442e5283UgWAt9zPRRofuwCLeAhPUA --- diff --git a/ntpd/refclock_acts.c b/ntpd/refclock_acts.c index e8400f2ce..9558b0997 100644 --- a/ntpd/refclock_acts.c +++ b/ntpd/refclock_acts.c @@ -333,7 +333,7 @@ acts_receive ( acts_message(peer); up->bufptr = pp->a_lastcode; } - } else { + } else if (!iscntrl(*tptr)) { *up->bufptr++ = *tptr; if (*tptr == '*' || *tptr == '#') { up->tstamp = pp->lastrec;