]> git.ipfire.org Git - thirdparty/openwrt.git/commit
wireguard-tools: fix script errors 21840/head
authorPaul Donald <newtwen+github@gmail.com>
Tue, 3 Feb 2026 05:18:01 +0000 (06:18 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 8 Feb 2026 23:47:28 +0000 (00:47 +0100)
commit85342bea07f65bdd9a22fc45a4c977c9aa42a5fb
tree68f865eccd713e69a8a72c4dfe0e4593c092212c
parent436b090bc746441a658524a84b9e35afe468ec35
wireguard-tools: fix script errors

follow-up to 148207730a3c9f3aea807df336ca33792e9d3c0f

Schoolboy error on the peer_psk value.

Also fix an issue when joining peer IPv4 and IPv6 AllowedIPs
(${peer_a_ips/ /, } replaces only the first space, while
${peer_a_ips// /, } replaces all the spaces).

Closes: https://github.com/openwrt/openwrt/issues/21847
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21851
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 3f0de6a28db049b782dc7ce27ad8fd917499db31)
Link: https://github.com/openwrt/openwrt/pull/21840
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/network/utils/wireguard-tools/files/wireguard.sh