parent
41756194c7
commit
ea91a72b79
@ -13,7 +13,7 @@ fi
|
||||
# on Single NPU platforms we continue to use loopback adddres
|
||||
|
||||
if [[ ($NUM_ASIC -gt 1) ]]; then
|
||||
udp_server_ip=$(ip -j -4 addr list docker0 | jq -r -M '.[0].addr_info[0].local')
|
||||
udp_server_ip=$(ip -o -4 addr list docker0 | awk '{print $4}' | cut -d/ -f1)
|
||||
else
|
||||
udp_server_ip=$(ip -j -4 addr list lo scope host | jq -r -M '.[0].addr_info[0].local')
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user