pppol2tp: Connect up/down events to notifiers and add IPv6 ones
authorBenjamin Cama <benjamin.cama@telecom-bretagne.eu>
Wed, 26 Feb 2014 18:13:40 +0000 (19:13 +0100)
committerPaul Mackerras <paulus@samba.org>
Sun, 9 Mar 2014 03:55:18 +0000 (14:55 +1100)
commitfafbe50251efc7d6b4a8be652d085316e112b34f
tree2c9ef6e7d53ffa97afbdf42540f827317e8957e2
parentb04d2dc6df5c6b5650fea44250d58757ee3dac4a
pppol2tp: Connect up/down events to notifiers and add IPv6 ones

Connect ip up/down events instead of using hooks, and add IPv6 up/down
events notifications too, so that we signal IPv6-only sessions
correctly; otherwise, they may get taken down because the L2TP daemon
has not received any notification.

Signed-off-by: Benjamin Cama <benjamin.cama@telecom-bretagne.eu>
Signed-off-by: Paul Mackerras <paulus@samba.org>
pppd/plugins/pppol2tp/pppol2tp.c