lkml.org 
[lkml]   [1997]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectPPPD fix and updated RPMS for the next vger CVS snapshot
From
Date
Hi,

the next snapshot from David Miller's CVS tree will expose
a bug in pppd. Here is a patch to fix it:

--- ppp-2.2.0f/pppd/sys-linux.c-o Wed Sep 17 00:23:01 1997
+++ ppp-2.2.0f/pppd/sys-linux.c Wed Sep 17 00:23:11 1997
@@ -927,8 +927,11 @@

if (ioctl(sockfd, SIOCADDRT, &rt) < 0)
{
+/* The new linux routing code doesn't like routes on down devices. */
+#if 0
syslog (LOG_ERR, "ioctl(SIOCADDRT) device route: %m");
return (0);
+#endif
}
return 1;
}
I put up updated RPMS (based on the pppd from redhat 4.2) on:

ftp://ftp.firstfloor.org/pub/ak/ppp-2.2.0f-4.i386.rpm
ftp://ftp.firstfloor.org/pub/ak/ppp-2.2.0f-4.src.rpm

The patch is in the same directory.

-Andi

\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.049 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site