From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,f571c18e47e77f5,start X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 1993-08-18 19:01:50 PST Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!pipex!zaphod.crihan.fr!univ-lyon1.fr!ghost.dsi.unimi.it!batcomputer!bounce-bounce From: sn Newsgroups: comp.os.linux.announce Subject: [PATCH] Bugfix for DIP to allow BPS !=2400+38400 Followup-To: comp.os.linux Date: 18 Aug 1993 21:56:30 -0400 Organization: None Sender: mdw@TC.Cornell.EDU Message-ID: <24umke$ju1@theory.TC.Cornell.EDU> Reply-To: sn NNTP-Posting-Host: theory.tc.cornell.edu Keywords: DIP, patch, NET-2, TCP/IP, SLIP [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