mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add cleartext support for mlvpn
This commit is contained in:
parent
c3ff485c06
commit
23fb2cf5e5
3 changed files with 17 additions and 7 deletions
|
@ -40,6 +40,8 @@ start() {
|
|||
password="$(uci -q get mlvpn.general.password)"
|
||||
reorder_buffer_size="$(uci -q get mlvpn.general.reorder_buffer_size)"
|
||||
loss_tolerence="$(uci -q get mlvpn.general.loss_tolerence)"
|
||||
cleartext_data="$(uci -q get mlvpn.general.cleartext_data)"
|
||||
[ -z "$cleartext_data" ] && cleartext_data="0"
|
||||
host="$(uci -q get mlvpn.general.host)"
|
||||
firstport="$(uci -q get mlvpn.general.firstport)"
|
||||
|
||||
|
@ -57,6 +59,7 @@ start() {
|
|||
reorder_buffer = yes
|
||||
reorder_buffer_size = ${reorder_buffer_size}
|
||||
loss_tolerence = ${loss_tolerence}
|
||||
cleartext_data = ${cleartext_data}
|
||||
password = "${password}"
|
||||
mtu = 1452
|
||||
EOF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue