1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Fix glorytun UDP init

This commit is contained in:
Ycarus 2018-05-29 18:03:00 +02:00
parent c1c3adc1d3
commit 553cdb3eb1

View file

@ -57,12 +57,12 @@ start_instance() {
procd_set_param command ${PROG} \ procd_set_param command ${PROG} \
${bind:+bind "$bind"} \ ${bind:+bind "$bind"} \
${bindport:+ "$port"} \ ${bindport:+ "$bindport"} \
${host:+to "$host"} \ ${host:+to "$host"} \
${port:+ "$port"} \ ${port:+ "$port"} \
${dev:+dev "$dev"} \ ${dev:+dev "$dev"} \
keyfile /tmp/${PROG_NAME}-${1}.key \ keyfile /tmp/${PROG_NAME}-${1}.key \
${mtu:+mtu "$mtu"} persist
[ "${chacha20}" = "1" ] && procd_append_param command chacha [ "${chacha20}" = "1" ] && procd_append_param command chacha