Signed-off-by: [anp/hsw] <sysop@880.ru>
info("Connect time expired");
ppp_set_status(EXIT_CONNECT_TIME);
lcp_close(0, "Connect time expired"); /* Close connection */
+ need_holdoff = 0;
}
/*
while (phase != PHASE_DEAD) {
handle_events();
get_input();
- if (kill_link)
+ if (kill_link) {
lcp_close(0, "User request");
+ need_holdoff = 0;
+ }
if (asked_to_quit) {
bundle_terminating = 1;
if (phase == PHASE_MASTER)
notice("Modem hangup");
hungup = 1;
code = EXIT_HANGUP;
+ need_holdoff = 0;
lcp_lowerdown(0); /* serial link is no longer available */
link_terminated(0);
return;
Specifies how many seconds to wait before re-initiating the link after
it terminates. This option only has any effect if the \fIpersist\fR
or \fIdemand\fR option is used. The holdoff period is not applied if
-the link was terminated because it was idle.
+the link was terminated because it was idle, connect time expired,
+modem hangup or user request.
.TP
.B idle \fIn
Specifies that pppd should disconnect if the link is idle for \fIn\fR