mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-08-24 23:25:58 +00:00
PPPoE persist is working, removing FIXME comments about that
This commit is contained in:
parent
f94ed922e5
commit
c2d2034ae8
@ -1803,17 +1803,9 @@ static void ppp_over_ethernet_link_status_cb(int pd, int state) {
|
||||
void ppp_link_down(int pd) {
|
||||
PPPDEBUG(LOG_DEBUG, ("ppp_link_down: unit %d\n", pd));
|
||||
|
||||
#if PPPOE_SUPPORT
|
||||
if (ppp_control_list[pd].ethif) {
|
||||
/* FIXME: find a way to set PPPoE down without disconnecting and freeing PPPoE structures */
|
||||
/* pppoe_disconnect(ppp_control_list[pd].pppoe_sc); */
|
||||
} else
|
||||
#endif /* PPPOE_SUPPORT */
|
||||
{
|
||||
#if PPPOS_SUPPORT && PPP_INPROC_OWNTHREAD
|
||||
ppp_receive_wakeup(pd);
|
||||
ppp_receive_wakeup(pd);
|
||||
#endif /* PPPOS_SUPPORT && PPP_INPROC_OWNTHREAD*/
|
||||
}
|
||||
}
|
||||
|
||||
void ppp_link_terminated(int pd) {
|
||||
|
@ -255,7 +255,6 @@ struct epdisc {
|
||||
/*
|
||||
* Global variables.
|
||||
*/
|
||||
extern int status; /* exit status for pppd */
|
||||
extern u_char outpacket_buf[]; /* Buffer for outgoing packets */
|
||||
|
||||
#ifdef HAVE_MULTILINK
|
||||
|
Loading…
Reference in New Issue
Block a user