Follow on to the early version update to libnl from 1.0 to 2.0.  Fix l2tpv3tun 
to use newer API.

--- l2tpv3tun-0.2/main.c.orig   2011-01-23 19:33:36.000000000 -0700
+++ l2tpv3tun-0.2/main.c        2011-01-23 19:37:29.000000000 -0700
@@ -788,9 +788,9 @@
 
 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;
        }
 
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to