From 112fdce3c27c8a980fadf4cb023351f4c2f57072 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Wed, 15 May 2024 22:41:35 +0200 Subject: [PATCH] fix: :bug: wrong separator for ipv6 --- .../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 2a57c4f..f107e02 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