diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2016-03-31 22:38:40 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2016-03-31 22:38:40 +0300 |
commit | e0aa33c19b70bd411814c51afdfc195438082e94 (patch) | |
tree | ee24194bcb76a1957753b00ac76a12faaeddffc0 /accel-pppd/ctrl/pppoe | |
parent | b6878ed86ebd6776caef8b99f793438ccee08787 (diff) | |
download | accel-ppp-e0aa33c19b70bd411814c51afdfc195438082e94.tar.gz accel-ppp-e0aa33c19b70bd411814c51afdfc195438082e94.zip |
pppoe: disc.c: add missing initialization of context's before_switch function
Diffstat (limited to 'accel-pppd/ctrl/pppoe')
-rw-r--r-- | accel-pppd/ctrl/pppoe/disc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/pppoe/disc.c b/accel-pppd/ctrl/pppoe/disc.c index db969d8..58efd1e 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; |