diff options
Diffstat (limited to 'accel-pppd/ctrl/l2tp/netlink.c')
-rw-r--r-- | accel-pppd/ctrl/l2tp/netlink.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/l2tp/netlink.c b/accel-pppd/ctrl/l2tp/netlink.c index 7c8c79a..c8dce89 100644 --- a/accel-pppd/ctrl/l2tp/netlink.c +++ b/accel-pppd/ctrl/l2tp/netlink.c @@ -80,7 +80,7 @@ void l2tp_nl_create_session(int tid, int sid, int peer_sid) nl_socket_free(nl_sock); } -static void __init init(void) +static void init(void) { struct nl_sock *nl_sock = nl_socket_alloc(); @@ -92,3 +92,4 @@ static void __init init(void) nl_socket_free(nl_sock); } +DEFINE_INIT(21, init); |