l2tpv3tun: moved to github

git-svn-id: svn://svn.openwrt.org/openwrt/packages@41740 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
cyrus
2014-07-19 10:17:55 +00:00
parent 61fa3167b1
commit 34f180ea24
4 changed files with 0 additions and 306 deletions

View File

@ -1,23 +0,0 @@
--- a/main.c
+++ b/main.c
@@ -100,7 +100,7 @@ struct l2tp_data {
};
/* netlink socket */
-static struct nl_handle *nl_sock;
+static struct nl_sock *nl_sock;
static int nl_family;
/*****************************************************************************
@@ -788,9 +788,9 @@ static int do_show(int argc, char **argv
int do_ipl2tp(int argc, char **argv)
{
- nl_sock = nl_handle_alloc();
+ nl_sock = nl_socket_alloc();
if (!nl_sock) {
- perror("nl_handle_alloc");
+ perror("nl_socket_alloc");
return 1;
}