1
0
Fork 0
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:
Ycarus 2018-07-01 20:02:25 +02:00
parent b901339cdf
commit 95385a77a7
3 changed files with 27 additions and 9 deletions

View 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,