1 --- l2tpd-0.70-pre20031121.orig/l2tpd.c.orig 2006-04-05 13:28:36.000000000 +0100
2 +++ l2tpd-0.70-pre20031121.orig/l2tpd.c 2006-04-05 13:33:39.000000000 +0100
5 struct termios ptyconf;
10 stropt[0] = strdup (PPPD);
16 + flags = fcntl(c->fd, F_GETFL);
17 + if (flags < 0 || fcntl(c->fd, F_SETFL, flags | O_NONBLOCK) < 0)
19 + log (LOG_WARN, "%s: unable to fcntl(O_NONBLOCK) on pty\n",