diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2014-05-26 09:51:06 +0400 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2014-05-26 09:51:06 +0400 |
commit | 33ca7f48ec3369301c1f0ce4aa1abe306151af76 (patch) | |
tree | ed8a4a9a27cc070e732ec5c11b7b34f630ee6e3e /accel-pppd/ctrl/ipoe/ipoe.h | |
parent | b002a1bdc060bf26497ea65174bfb66468560abb (diff) | |
download | accel-ppp-33ca7f48ec3369301c1f0ce4aa1abe306151af76.tar.gz accel-ppp-33ca7f48ec3369301c1f0ce4aa1abe306151af76.zip |
ipoe: send NAK after number of unreplied REQUESTs
After introduction offer-delay accel-ppp stopped to answer NAK for REQUESTs if requested session is not existing
to give chance other servers to reply. But this causes that some broken clients enter to infinite REQUEST loop.
This patch corrects this issue, so if offer-delay is not configured (means that this is only server in the net) or
after receiving few REQUESTs accel-ppp send NAK for non-existing sessions.
Diffstat (limited to 'accel-pppd/ctrl/ipoe/ipoe.h')
-rw-r--r-- | accel-pppd/ctrl/ipoe/ipoe.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/ipoe/ipoe.h b/accel-pppd/ctrl/ipoe/ipoe.h index 5ef46b7a..88e37e46 100644 --- a/accel-pppd/ctrl/ipoe/ipoe.h +++ b/accel-pppd/ctrl/ipoe/ipoe.h @@ -27,6 +27,7 @@ struct ipoe_serv { struct dhcpv4_relay *dhcpv4_relay; struct arp_serv *arp; struct list_head disc_list; + struct list_head req_list; struct triton_timer_t disc_timer; struct triton_timer_t timer; pthread_mutex_t lock; |