This commit is contained in:
MingWangSong 2025-06-17 20:29:51 +08:00 committed by GitHub
commit 012d442007
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,7 +37,7 @@ static bool checkNicType(std::string_view nic, Address::Type type) {
case Address::IPoIB: case Address::IPoIB:
return nic.starts_with("ib"); return nic.starts_with("ib");
case Address::RDMA: case Address::RDMA:
return nic.starts_with("en") || nic.starts_with("eth") || nic.starts_with("bond") || nic.starts_with("xgbe"); return nic.starts_with("en") || nic.starts_with("eth") || nic.starts_with("bond") || nic.starts_with("xgbe") || nic.starts_with("ib");
case Address::LOCAL: case Address::LOCAL:
return nic.starts_with("lo"); return nic.starts_with("lo");
default: default: