Add new feature and parameter ENABLE_BDS_V6BIND_FIX, to allow IPv4 and IPv6 on the same port (#628)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
09b8859600
commit
c596445e00
4 files changed
+63
-9
No files matched your search
@@ -446,6 +446,15 @@ set-property --file server.properties --bulk /etc/bds-property-definitions.json
|
||||
|
||||
export LD_LIBRARY_PATH=.
|
||||
|
||||
: "${ENABLE_BDS_V6BIND_FIX:=false}"
|
||||
if isTrue "${ENABLE_BDS_V6BIND_FIX}"; then
|
||||
if [[ -f /opt/bds-ipv6fix.so ]]; then
|
||||
export LD_PRELOAD=/opt/bds-ipv6fix.so
|
||||
else
|
||||
echo "WARNING: ENABLE_BDS_V6BIND_FIX=true but bds-ipv6fix.so is not available for this platform"
|
||||
fi
|
||||
fi
|
||||
|
||||
mcServerRunnerArgs=()
|
||||
if isTrue "${ENABLE_SSH}"; then
|
||||
mcServerRunnerArgs+=(--remote-console)
|
||||
|
||||
Reference in new issue
Block a user