3 @@ -100,7 +100,7 @@ struct l2tp_data {
7 -static struct nl_handle *nl_sock;
8 +static struct nl_sock *nl_sock;
11 /*****************************************************************************
12 @@ -788,9 +788,9 @@ static int do_show(int argc, char **argv
14 int do_ipl2tp(int argc, char **argv)
16 - nl_sock = nl_handle_alloc();
17 + nl_sock = nl_socket_alloc();
19 - perror("nl_handle_alloc");
20 + perror("nl_socket_alloc");