summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/pppoe/disc.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/ctrl/pppoe/disc.c')
-rw-r--r--accel-pppd/ctrl/pppoe/disc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/pppoe/disc.c b/accel-pppd/ctrl/pppoe/disc.c
index db969d8f..58efd1e2 100644
--- a/accel-pppd/ctrl/pppoe/disc.c
+++ b/accel-pppd/ctrl/pppoe/disc.c
@@ -85,6 +85,7 @@ static struct disc_net *init_net(const struct ap_net *net)
}
n->ctx.close = disc_close;
+ n->ctx.before_switch = log_switch;
n->hnd.fd = sock;
n->hnd.read = disc_read;
n->net = net;