1 Ensure that the fd returned by the connect method is closed before
2 running external programs.
4 http://article.gmane.org/gmane.linux.ppp/1371
6 diff -ruNp ppp.orig/pppd/main.c ppp/pppd/main.c
7 --- ppp.orig/pppd/main.c 2004-07-12 12:55:30.000000000 +0200
8 +++ ppp/pppd/main.c 2004-07-12 12:55:25.000000000 +0200
9 @@ -1662,6 +1662,8 @@ run_program(prog, args, must_exist, done
11 if (the_channel->close)
12 (*the_channel->close)();
16 /* Don't pass handles to the PPP device, even by accident. */