From: Harlan Stenn Date: Sat, 1 Apr 2006 10:14:27 +0000 (-0500) Subject: Ignore control characters X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9315b4f3f39c9476b3dc519332dd79df72b00cfb;p=thirdparty%2Fntp.git Ignore control characters bk: 442e5283UgWAt9zPRRofuwCLeAhPUA --- diff --git a/ntpd/refclock_acts.c b/ntpd/refclock_acts.c index e8400f2ce2..9558b09977 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;