mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 10:31:51 +00:00
Update mlvpn
This commit is contained in:
parent
d5b3a36442
commit
0452361593
3 changed files with 6 additions and 33 deletions
|
@ -17,13 +17,13 @@ PKG_SOURCE_PROTO:=git
|
|||
#PKG_SOURCE_URL:=https://github.com/zehome/MLVPN.git
|
||||
#PKG_SOURCE_VERSION:=6f13423b8108f46edb9f230deee20e3741abe64c
|
||||
#PKG_SOURCE_DATE:=2017-09-01
|
||||
PKG_SOURCE_URL:=https://github.com/markfoodyburton/MLVPN.git
|
||||
PKG_SOURCE_VERSION:=8f9720978b28c1954f9f229525333547283316d2
|
||||
PKG_SOURCE_DATE:=2018-09-03
|
||||
#PKG_SOURCE_URL:=https://github.com/markfoodyburton/MLVPN.git
|
||||
#PKG_SOURCE_VERSION:=8f9720978b28c1954f9f229525333547283316d2
|
||||
#PKG_SOURCE_DATE:=2018-09-03
|
||||
|
||||
#PKG_SOURCE_URL:=https://github.com/flohoff/MLVPN.git
|
||||
#PKG_SOURCE_VERSION:=f45cec350a6879b8b020143a78134a022b5df2a7
|
||||
#PKG_SOURCE_DATE:=2019-05-31
|
||||
PKG_SOURCE_URL:=https://github.com/flohoff/MLVPN.git
|
||||
PKG_SOURCE_VERSION:=f45cec350a6879b8b020143a78134a022b5df2a7
|
||||
PKG_SOURCE_DATE:=2019-05-31
|
||||
|
||||
PKG_LICENSE:=BSD-2-Clause
|
||||
PKG_MAINTAINER:=Ycarus (Yannick Chabanois) <ycarus@zugaina.org>
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
--- a/src/config.c 2018-07-01 19:02:09.192210482 +0200
|
||||
+++ b/src/config.c 2018-07-01 19:03:13.263404635 +0200
|
||||
@@ -302,9 +302,11 @@
|
||||
config, lastSection, "remoteport", &dstport, NULL,
|
||||
"No remote port specified.\n", 1);
|
||||
}
|
||||
-
|
||||
- bindaddr=ip_from_if(bindaddr);
|
||||
|
||||
+ if (bindaddr)
|
||||
+ {
|
||||
+ bindaddr=ip_from_if(bindaddr);
|
||||
+ }
|
||||
|
||||
_conf_set_uint_from_conf(
|
||||
config, lastSection, "bandwidth_upload", &bwlimit, 0,
|
|
@ -1,11 +0,0 @@
|
|||
--- a/src/mlvpn.c 2018-08-25 07:39:53.625002006 +0200
|
||||
+++ b/src/mlvpn.c 2018-08-25 07:40:35.696481066 +0200
|
||||
@@ -1019,7 +1019,7 @@
|
||||
#endif
|
||||
if (*t->binddev) {
|
||||
memset(&ifr, 0, sizeof(ifr));
|
||||
- snprintf(ifr.ifr_name, sizeof(ifr.ifr_name) - 1, t->binddev);
|
||||
+ snprintf(ifr.ifr_name, sizeof(ifr.ifr_name) - 1, " on %s", t->binddev);
|
||||
if (setsockopt(fd, SOL_SOCKET, SO_BINDTODEVICE, (void *)&ifr, sizeof(ifr)) < 0) {
|
||||
log_warn(NULL, "failed to bind on interface %s", t->binddev);
|
||||
}
|
Loading…
Reference in a new issue