PPPoE persist is working, removing FIXME comments about that

This commit is contained in:
Sylvain Rochet 2012-06-09 16:56:32 +02:00
parent f94ed922e5
commit c2d2034ae8
2 changed files with 1 additions and 10 deletions

View File

@ -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) {

View File

@ -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