Usenet comp.os.linux.announce (1993-2013)
 help / color / mirror / Atom feed
* [PATCH] Bugfix for DIP to allow BPS !=2400+38400
@ 1993-08-19  1:56 sn
  0 siblings, 0 replies; only message in thread
From: sn @ 1993-08-19  1:56 UTC (permalink / 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1993-08-19  1:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-08-19  1:56 [PATCH] Bugfix for DIP to allow BPS !=2400+38400 sn

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