Release WDTT Plus v1

Prepare WDTT Plus for the public fork repository: update release links, refresh the displayed release date, and publish the current WDTT Plus source tree on top of the original project history.
This commit is contained in:
Ivan4537 committed 2026-07-01 18:25:54 +03:00
1 parent d82483ae36
commit 9b69abe3d5
127 files changed
+17412 -6579

No files matched your search

Regular → Executable
+4 -3
View File
@@ -8,8 +8,11 @@ import (
)
// RequestConfig запрашивает WireGuard конфиг через DTLS-соединение.
func RequestConfig(conn net.Conn, localPort, deviceID, password string) (string, error) {
func RequestConfig(conn net.Conn, localPort, deviceID, password, deviceInfo string) (string, error) {
payload := fmt.Sprintf("GETCONF:%s|%s|%s", localPort, deviceID, password)
if strings.TrimSpace(deviceInfo) != "" {
payload += "|" + strings.ReplaceAll(deviceInfo, "|", " ")
}
if _, err := conn.Write([]byte(payload)); err != nil {
return "", fmt.Errorf("отправка GETCONF: %w", err)
}
@@ -45,5 +48,3 @@ func RequestConfig(conn net.Conn, localPort, deviceID, password string) (string,
return resp, nil
}