Force the nodes in the local sim to announce 127.0.0.1 in discovery
This commit is contained in:
parent
47df900958
commit
2623ac191f
|
@ -27,7 +27,7 @@ cd "$GIT_ROOT"
|
||||||
DATA_DIR="${SIMULATION_DIR}/node-$NODE_ID"
|
DATA_DIR="${SIMULATION_DIR}/node-$NODE_ID"
|
||||||
PORT=$(( BASE_P2P_PORT + NODE_ID ))
|
PORT=$(( BASE_P2P_PORT + NODE_ID ))
|
||||||
|
|
||||||
NAT_FLAG="--nat:none"
|
NAT_FLAG="--nat:extip:127.0.0.1"
|
||||||
if [ "${NAT:-}" == "1" ]; then
|
if [ "${NAT:-}" == "1" ]; then
|
||||||
NAT_FLAG="--nat:any"
|
NAT_FLAG="--nat:any"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 22bf279b0794f55e08344fe54beddf44d3ae9549
|
Subproject commit e89e59aa5952bf663b3b1fd705cdd6139f006672
|
Loading…
Reference in New Issue