提交 b9054dd3 编写于 作者: D Dmitry Kozlov

pptp,ipoe: fixed recursion bug

上级 44ae0ed6
......@@ -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)
......
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册