From 7dc032b2f162f8adcf789713d50eabd2091df6ab Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Wed, 15 May 2024 22:43:49 +0200 Subject: [PATCH] fix: :bug: wrong separator for ipv6 (again) --- .../root/etc/s6-overlay/s6-rc.d/init-wireguard-confs/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wireguard-ipv6/root/etc/s6-overlay/s6-rc.d/init-wireguard-confs/run b/wireguard-ipv6/root/etc/s6-overlay/s6-rc.d/init-wireguard-confs/run index f107e02..df80c11 100755 --- a/wireguard-ipv6/root/etc/s6-overlay/s6-rc.d/init-wireguard-confs/run +++ b/wireguard-ipv6/root/etc/s6-overlay/s6-rc.d/init-wireguard-confs/run @@ -59,7 +59,7 @@ DUDE" fi done for idx in {2..254}; do - PROPOSED_IPV6="${INTERFACE_IPV6}:${idx}" + PROPOSED_IPV6="${INTERFACE_IPV6}::${idx}" if ! grep -q -R "${PROPOSED_IPV6}" /config/peer*/*.conf 2>/dev/null && ([ -z "${ORIG_INTERFACE}" ] || ! grep -q -R "${ORIG_INTERFACE}.${idx}" /config/peer*/*.conf 2>/dev/null); then CLIENT_IPV6="${PROPOSED_IPV6}" break