fix: 🐛 wrong separator for ipv6
This commit is contained in:
parent
1789561f99
commit
112fdce3c2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user