mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Working MLVPN markfoodyburton version
This commit is contained in:
parent
b901339cdf
commit
95385a77a7
3 changed files with 27 additions and 9 deletions
16
mlvpn/patches/020-config-bindaddr.patch
Normal file
16
mlvpn/patches/020-config-bindaddr.patch
Normal file
|
@ -0,0 +1,16 @@
|
|||
--- 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,
|
Loading…
Add table
Add a link
Reference in a new issue