1 --- a/pppd/plugins/rp-pppoe/discovery.c
2 +++ b/pppd/plugins/rp-pppoe/discovery.c
3 @@ -593,12 +593,14 @@ discovery(PPPoEConnection *conn)
4 conn->discoveryState = STATE_SENT_PADI;
5 waitForPADO(conn, timeout);
8 /* If we're just probing for access concentrators, don't do
9 exponential backoff. This reduces the time for an unsuccessful
10 probe to 15 seconds. */
11 if (!conn->printACNames) {
15 if (conn->printACNames && conn->numPADOs) {
18 @@ -621,7 +623,9 @@ discovery(PPPoEConnection *conn)
20 conn->discoveryState = STATE_SENT_PADR;
21 waitForPADS(conn, timeout);
25 } while (conn->discoveryState == STATE_SENT_PADR);