20 lines
500 B
Diff
20 lines
500 B
Diff
--- pppd/sys-linux.c
|
|
+++ pppd/sys-linux.c
|
|
@@ -2104,8 +2104,7 @@
|
|
sscanf(utsname.release, "%d.%d.%d", &osmaj, &osmin, &ospatch);
|
|
kernel_version = KVERSION(osmaj, osmin, ospatch);
|
|
|
|
fd = open("/dev/ppp", O_RDWR);
|
|
-#if 0
|
|
if (fd < 0 && errno == ENOENT) {
|
|
/* try making it and see if that helps. */
|
|
if (mknod("/dev/ppp", S_IFCHR | S_IRUSR | S_IWUSR,
|
|
@@ -2119,7 +2117,6 @@
|
|
fd = open("/dev/ppp", O_RDWR);
|
|
}
|
|
}
|
|
-#endif /* 0 */
|
|
if (fd >= 0) {
|
|
new_style_driver = 1;
|
|
|