mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 23:56:43 +00:00
Update entrypoint.sh
This commit is contained in:
parent
0a869b40b0
commit
e75c17b642
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ fi
|
|||
# Obtain assigned container IP for p2p
|
||||
NODE_IP=${NODE_IP:-$(hostname -i)}
|
||||
|
||||
if [ -n "$PUBLIC_NODE_IP" ]; then
|
||||
if [ -n "${PUBLIC_NODE_IP:-}" ]; then
|
||||
NAT_FLAG="--nat=extip:$PUBLIC_NODE_IP"
|
||||
else
|
||||
NAT_FLAG="--nat=none"
|
||||
|
|
|
|||
Loading…
Reference in a new issue