mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-08 16:43:39 +08:00
removed holdoff support, can be handled without persist mode outside lwIP
This commit is contained in:
@@ -1306,7 +1306,9 @@ check_maxoctets(arg)
|
||||
notice("Traffic limit reached. Limit: %u Used: %u", maxoctets, used);
|
||||
status = EXIT_TRAFFIC_LIMIT;
|
||||
lcp_close(0, "Traffic limit");
|
||||
#if 0 /* UNUSED */
|
||||
need_holdoff = 0;
|
||||
#endif /* UNUSED */
|
||||
} else {
|
||||
TIMEOUT(check_maxoctets, NULL, maxoctets_timeout);
|
||||
}
|
||||
@@ -1343,7 +1345,9 @@ check_idle(arg)
|
||||
notice("Terminating connection due to lack of activity.");
|
||||
status = EXIT_IDLE_TIMEOUT;
|
||||
lcp_close(0, "Link inactive");
|
||||
#if 0 /* UNUSED */
|
||||
need_holdoff = 0;
|
||||
#endif /* UNUSED */
|
||||
} else {
|
||||
TIMEOUT(check_idle, NULL, tlim);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user