1 diff -Naur ppp-2.4.4.orig/pppd/plugins/rp-pppoe/discovery.c ppp-2.4.4/pppd/plugins/rp-pppoe/discovery.c
2 --- ppp-2.4.4.orig/pppd/plugins/rp-pppoe/discovery.c 2009-05-07 19:47:30.000000000 -0400
3 +++ ppp-2.4.4/pppd/plugins/rp-pppoe/discovery.c 2009-05-07 20:23:04.000000000 -0400
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);
29 diff -Naur ppp-2.4.4.orig/pppd/plugins/rp-pppoe/discovery.c ppp-2.4.4/pppd/plugins/rp-pppoe/discovery.c
30 --- ppp-2.4.4.orig/pppd/plugins/rp-pppoe/discovery.c 2009-05-07 19:47:30.000000000 -0400
31 +++ ppp-2.4.4/pppd/plugins/rp-pppoe/discovery.c 2009-05-07 20:23:04.000000000 -0400
33 conn->discoveryState = STATE_SENT_PADI;
34 waitForPADO(conn, timeout);
37 /* If we're just probing for access concentrators, don't do
38 exponential backoff. This reduces the time for an unsuccessful
39 probe to 15 seconds. */
40 if (!conn->printACNames) {
44 if (conn->printACNames && conn->numPADOs) {
49 conn->discoveryState = STATE_SENT_PADR;
50 waitForPADS(conn, timeout);
54 } while (conn->discoveryState == STATE_SENT_PADR);