]> git.ozlabs.org Git - ppp.git/commit
plugins/pppoe: Remove 5 second delay before PADR in verbose mode
authorPali Rohár <pali@kernel.org>
Sun, 21 Apr 2024 09:03:54 +0000 (11:03 +0200)
committerPaul Mackerras <paulus@ozlabs.org>
Mon, 29 Apr 2024 02:46:07 +0000 (12:46 +1000)
commit73bd762a65c68cea716fcd84d2225bb6b3b9104f
tree5432681a423daddba7278ada0c4b9cdd101e6b1c
parentcc12c3d3ca96c79e68ed024bd5df0086a2816178
plugins/pppoe: Remove 5 second delay before PADR in verbose mode

This partially reverts commit 1c082acf77e6 ("pppoe: Show verbose
information about all concentrator when pppoe-verbose option is set",
2021-01-01).  That commit added a 5-second wait between receiving a
valid PADO and sending the PADR response so as to give time to see
whether any other PADOs arrive.  However, it appears that this delay
causes problems with some concentrators.

This reverts to the previous behaviour of sending the PADR
immediately.

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