diff --git a/glorytun-udp/init b/glorytun-udp/init index 3295f3baf..e00df6447 100755 --- a/glorytun-udp/init +++ b/glorytun-udp/init @@ -57,12 +57,12 @@ start_instance() { procd_set_param command ${PROG} \ ${bind:+bind "$bind"} \ - ${bindport:+ "$port"} \ + ${bindport:+ "$bindport"} \ ${host:+to "$host"} \ ${port:+ "$port"} \ ${dev:+dev "$dev"} \ keyfile /tmp/${PROG_NAME}-${1}.key \ - ${mtu:+mtu "$mtu"} + persist [ "${chacha20}" = "1" ] && procd_append_param command chacha