mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 01:39:35 +02:00
Make native dynamic node names work when using fully qualified domain names
This should fix issue reported in 4184
This commit is contained in:
parent
103a30df2c
commit
2c5a8f0860
1 changed files with 5 additions and 1 deletions
|
@ -273,7 +273,11 @@ uid() {
|
|||
else
|
||||
# Erlang/OTP 23 or higher: use native dynamic node code
|
||||
# https://www.erlang.org/patches/otp-23.0#OTP-13812
|
||||
echo undefined
|
||||
if [ "$ERLANG_NODE" != "${ERLANG_NODE%.*}" ]; then
|
||||
echo "undefined@${ERLANG_NODE#*@}"
|
||||
else
|
||||
echo "undefined"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue