mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-08 04:31:02 +01:00
Use substr() instead of array index syntax to access the first character of the endpoint host string, as ucode does not support array-style indexing on strings. Fixes: https://github.com/openwrt/openwrt/issues/22116 Fixes: 8f977b4a4055 ("wireguard-tools: fix handling of multi-value config options") Signed-off-by: Felix Fietkau <nbd@nbd.name>