fix: 🐛 wrong separator for ipv6 (again)
This commit is contained in:
parent
112fdce3c2
commit
7dc032b2f1
@ -59,7 +59,7 @@ DUDE"
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
for idx in {2..254}; do
|
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
|
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}"
|
CLIENT_IPV6="${PROPOSED_IPV6}"
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user