mirror of
https://github.com/deepseek-ai/3FS
synced 2025-06-26 18:16:45 +00:00
Merge f1945040fd into 2db69ced80
This commit is contained in:
commit
3b52df177b
@ -37,7 +37,10 @@ static bool checkNicType(std::string_view nic, Address::Type type) {
|
||||
case Address::IPoIB:
|
||||
return nic.starts_with("ib");
|
||||
case Address::RDMA:
|
||||
return nic.starts_with("en") || nic.starts_with("eth") || nic.starts_with("bond") || nic.starts_with("xgbe");
|
||||
if (nic.starts_with("lo"))
|
||||
return false
|
||||
else
|
||||
return true;
|
||||
case Address::LOCAL:
|
||||
return nic.starts_with("lo");
|
||||
default:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user