diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2015-12-25 21:46:40 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2015-12-25 21:46:40 +0300 |
commit | b9054dd37340aceebddfba354922fc730e0607cf (patch) | |
tree | 0815dedec3909b587e1257beaabe37e53aa3d93c /accel-pppd/ctrl | |
parent | 44ae0ed6312dd2d6f81f01e2f66b70029f08e68f (diff) | |
download | accel-ppp-b9054dd37340aceebddfba354922fc730e0607cf.tar.gz accel-ppp-b9054dd37340aceebddfba354922fc730e0607cf.zip |
pptp,ipoe: fixed recursion bug
Diffstat (limited to 'accel-pppd/ctrl')
-rw-r--r-- | accel-pppd/ctrl/ipoe/ipoe.c | 2 | ||||
-rw-r--r-- | accel-pppd/ctrl/pptp/pptp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/accel-pppd/ctrl/ipoe/ipoe.c b/accel-pppd/ctrl/ipoe/ipoe.c index 46f1cac..3cd2b80 100644 --- a/accel-pppd/ctrl/ipoe/ipoe.c +++ b/accel-pppd/ctrl/ipoe/ipoe.c @@ -199,7 +199,7 @@ static int ipoe_rad_send_acct_request(struct rad_plugin_t *rad, struct rad_packe static void ipoe_ctx_switch(struct triton_context_t *ctx, void *arg) { net = &def_net; - ipoe_ctx_switch(ctx, arg); + log_switch(ctx, arg); } static struct ipoe_session *ipoe_session_lookup(struct ipoe_serv *serv, struct dhcpv4_packet *pack, struct ipoe_session **opt82_ses) diff --git a/accel-pppd/ctrl/pptp/pptp.c b/accel-pppd/ctrl/pptp/pptp.c index 4a3090e..746badc 100644 --- a/accel-pppd/ctrl/pptp/pptp.c +++ b/accel-pppd/ctrl/pptp/pptp.c @@ -76,7 +76,7 @@ static void ppp_finished(struct ap_session *); static void pptp_ctx_switch(struct triton_context_t *ctx, void *arg) { net = &def_net; - pptp_ctx_switch(ctx, arg); + log_switch(ctx, arg); } static void disconnect(struct pptp_conn_t *conn) |