This commit is contained in:
qiuxinyidian 2025-06-17 20:29:48 +08:00 committed by GitHub
commit 3b52df177b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: