Usenet comp.os.linux.announce (1993-2013)
 help / color / mirror / Atom feed
From: sn <sn@plato.Chemietechnik.Uni-Dortmund.DE>
Subject: [PATCH] Bugfix for DIP to allow BPS !=2400+38400
Date: 18 Aug 1993 21:56:30 -0400	[thread overview]
Message-ID: <24umke$ju1@theory.TC.Cornell.EDU> (raw)

[Dip is the program used by NET-2 TCP/IP to dial a SLIP connection.]

Hi there, 
rudy@dorn.ruhr.de pointed out a bug in dip that disallows any connections
at speeds other than 2400 and 38400 baud. I wonder why noone has
noticed this one... Anyways, here's a patch that should fix this. 
Thanks, Rudy!

diff /usr/src/net-010/dip/serial.c /usr/src/net-010/dip/serial.c.orig
246c246,247
<   tty.c_cflag |= ((tty.c_cflag & ~CBAUD) | baud);
---
>   tty.c_cflag &= ~CBAUD;
>   tty.c_cflag |= baud;
 
That's all.

-Sven
sn@plato.chemietechnik.uni-dortmund.de
| DOS is hell - Linux is heaven
|					Never trust a working program

-- 
Send submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu


                 reply	other threads:[~1993-08-19  1:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox