예제 #1
0
파일: pptp.c 프로젝트: themiron/accel-ppp
static void pptp_ctx_switch(struct triton_context_t *ctx, void *arg)
{
	if (arg) {
		struct ap_session *s = arg;
		net = s->net;
	} else
		net = def_net;
	log_switch(ctx, arg);
}
예제 #2
0
파일: pptp.c 프로젝트: online2311/accel-ppp
static void pptp_ctx_switch(struct triton_context_t *ctx, void *arg)
{
	net = &def_net;
	log_switch(ctx, arg);
}