[packages] l2tpv3tun: fix whitespace mangled patch
git-svn-id: svn://svn.openwrt.org/openwrt/packages@25687 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -1,7 +1,5 @@
|
|||||||
Index: l2tpv3tun-0.2/main.c
|
--- a/main.c
|
||||||
===================================================================
|
+++ b/main.c
|
||||||
--- l2tpv3tun-0.2.orig/main.c
|
|
||||||
+++ l2tpv3tun-0.2/main.c
|
|
||||||
@@ -100,7 +100,7 @@ struct l2tp_data {
|
@@ -100,7 +100,7 @@ struct l2tp_data {
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -15,11 +13,11 @@ Index: l2tpv3tun-0.2/main.c
|
|||||||
|
|
||||||
int do_ipl2tp(int argc, char **argv)
|
int do_ipl2tp(int argc, char **argv)
|
||||||
{
|
{
|
||||||
- nl_sock = nl_handle_alloc();
|
- nl_sock = nl_handle_alloc();
|
||||||
+ nl_sock = nl_socket_alloc();
|
+ nl_sock = nl_socket_alloc();
|
||||||
if (!nl_sock) {
|
if (!nl_sock) {
|
||||||
- perror("nl_handle_alloc");
|
- perror("nl_handle_alloc");
|
||||||
+ perror("nl_socket_alloc");
|
+ perror("nl_socket_alloc");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user