1 diff -urN ppp.old/pppd/plugins/rp-pppoe/discovery.c ppp.dev/pppd/plugins/rp-pppoe/discovery.c
2 --- ppp.old/pppd/plugins/rp-pppoe/discovery.c 2005-09-05 15:25:35.917232000 +0200
3 +++ ppp.dev/pppd/plugins/rp-pppoe/discovery.c 2005-09-05 15:29:17.233586872 +0200
5 conn->discoveryState = STATE_SENT_PADI;
6 waitForPADO(conn, timeout);
9 /* If we're just probing for access concentrators, don't do
10 exponential backoff. This reduces the time for an unsuccessful
11 probe to 15 seconds. */
12 if (!conn->printACNames) {
16 if (conn->printACNames && conn->numPADOs) {
21 conn->discoveryState = STATE_SENT_PADR;
22 waitForPADS(conn, timeout);
26 } while (conn->discoveryState == STATE_SENT_PADR);