From b43f2f50cca9970f07d671d5acc264f94f591c69 Mon Sep 17 00:00:00 2001 From: Harlan Stenn Date: Fri, 17 Mar 2006 04:22:39 -0500 Subject: [PATCH] Set c_iflag=0 for RAW mode bk: 441a7fdfx26Vcm47buycA8EzQZAKPw --- ntpd/ntp_refclock.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ntpd/ntp_refclock.c b/ntpd/ntp_refclock.c index c260571df..a29ef085e 100644 --- a/ntpd/ntp_refclock.c +++ b/ntpd/ntp_refclock.c @@ -890,6 +890,7 @@ refclock_setup( ttyp->c_lflag = ICANON; if (lflags & LDISC_RAW) { ttyp->c_lflag = 0; + ttyp->c_iflag = 0; ttyp->c_cc[VMIN] = 1; } if (lflags & LDISC_ECHO) @@ -952,6 +953,7 @@ refclock_setup( ttyp->c_lflag = ICANON; if (lflags & LDISC_RAW) { ttyp->c_lflag = 0; + ttyp->c_iflag = 0; ttyp->c_cc[VMIN] = 1; } if (ioctl(fd, TCSETA, ttyp) < 0) { -- 2.47.3