summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/ipoe
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/ctrl/ipoe')
-rw-r--r--accel-pppd/ctrl/ipoe/ipoe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/ipoe/ipoe.c b/accel-pppd/ctrl/ipoe/ipoe.c
index 80d06a62..ae320b7a 100644
--- a/accel-pppd/ctrl/ipoe/ipoe.c
+++ b/accel-pppd/ctrl/ipoe/ipoe.c
@@ -241,6 +241,8 @@ static struct ipoe_session *ipoe_session_lookup(struct ipoe_serv *serv, struct d
if (!serv->opt_shared) {
ses = list_entry(serv->sessions.next, typeof(*ses), entry);
ses->UP = 0;
+ if (opt82_ses)
+ *opt82_ses = ses;
return ses;
}