]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/auth.c
pppd: Default exit status to EXIT_CONNECT_FAILED during connection phase
[ppp.git] / pppd / auth.c
index 2f81283aceb9d4df9f302ae19e1815c5c36b7bf9..4271af687102dc62e3c2e3b47d3fc8ab1d70d0f8 100644 (file)
@@ -553,6 +553,7 @@ link_required(unit)
 void start_link(unit)
     int unit;
 {
+    status = EXIT_CONNECT_FAILED;
     new_phase(PHASE_SERIALCONN);
 
     hungup = 0;