[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pppd and direct lines



Here is a diff for the pppd fix.  Please test.

--- src/usr.sbin/pppd/main.c-	Fri Aug  6 17:32:08 1999
+++ src/usr.sbin/pppd/main.c	Fri Feb  4 00:30:38 2000
@@ -490,9 +490,7 @@
 	    sleep(1);		/* give it time to set up its terminal */
 	}
 
-	/* clear CLOCAL if modem option set and we set CLOCAL above */
-	if (modem && !modem_chat)
-		set_up_tty(ttyfd, 0);
+	set_up_tty(ttyfd, 0);
 
 	/* reopen tty if necessary to wait for carrier */
 	if (connector == NULL && modem) {