]> git.ozlabs.org Git - ppp.git/commit - pppd/plugins/rp-pppoe/plugin.c
rp-pppoe plugin: Import some fixes from rp-pppoe-3.10
authorPaul Mackerras <paulus@samba.org>
Sun, 20 May 2012 09:36:23 +0000 (19:36 +1000)
committerPaul Mackerras <paulus@samba.org>
Sun, 20 May 2012 09:36:23 +0000 (19:36 +1000)
commit1817d83e51a411044e730ba89ebdb0480e1c8cd4
tree0aa55959ac562060677d55adb91294d5afdb3c2b
parentc44ae5e6a7338c96eb463881fe709b2dfaffe568
rp-pppoe plugin: Import some fixes from rp-pppoe-3.10

* Make timeout for PADO/PADS be the total time we wait for, not the
  time that each individual select call waits for.

* Open the discovery socket in PPPOEConnectDevice() rather than
  discovery().

* Open the session socket earlier in PPPOEConnectDevice() to avoid
  missing session packets sent by the server just after the PADS
  packet.

Signed-off-by: Paul Mackerras <paulus@samba.org>
pppd/plugins/rp-pppoe/discovery.c
pppd/plugins/rp-pppoe/plugin.c