]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/main.c
Bring up the link on an explicit call from main() rather than
[ppp.git] / pppd / main.c
index b5702f2b07ffabe274661511c67d9ffb4cfda7ee..be212daa171f36cfa3c0922fc5f92b430b014a62 100644 (file)
@@ -66,7 +66,7 @@
  * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-#define RCSID  "$Id: main.c,v 1.150 2005/03/21 09:20:16 paulus Exp $"
+#define RCSID  "$Id: main.c,v 1.151 2005/07/12 01:07:59 paulus Exp $"
 
 #include <stdio.h>
 #include <ctype.h>
@@ -534,6 +534,7 @@ main(argc, argv)
        script_unsetenv("BYTES_RCVD");
 
        lcp_open(0);            /* Start protocol */
+       start_link(0);
        while (phase != PHASE_DEAD) {
            handle_events();
            get_input();