]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/main.c
put linux ioctls in sys-linux.c
[ppp.git] / pppd / main.c
index 5fd465c68361e9caaf659a964559fb5012f74f4c..1e1397e5505353f79bfba97228807e57c8fd3a1b 100644 (file)
@@ -18,7 +18,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char rcsid[] = "$Id: main.c,v 1.12 1994/05/26 06:36:22 paulus Exp $";
+static char rcsid[] = "$Id: main.c,v 1.13 1994/05/27 01:02:14 paulus Exp $";
 #endif
 
 #define SETSID
 #endif
 
 #define SETSID
@@ -466,13 +466,6 @@ main(argc, argv)
 #ifdef _linux_ /* This is a kludge for Linux. FIXME !!! -- later. */
 #undef FASYNC
 #define FASYNC 0
 #ifdef _linux_ /* This is a kludge for Linux. FIXME !!! -- later. */
 #undef FASYNC
 #define FASYNC 0
-    {
-       int sig = SIGIO;
-       if (ioctl(fd, PPPIOCSINPSIG, &sig) == -1) {
-           syslog(LOG_ERR, "ioctl(PPPIOCSINPSIG): %m");
-           die(1);
-       }
-    }
 #endif
 
     if (fcntl(fd, F_SETFL, FNDELAY | FASYNC) == -1) {
 #endif
 
     if (fcntl(fd, F_SETFL, FNDELAY | FASYNC) == -1) {