1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Merge pull request #427 from nhutchinson-te/bsd-routing-table

Fix infinite loop when querying BSD routing table
This commit is contained in:
Matias Fontanini
2021-01-04 18:44:06 -08:00
committed by GitHub

View File

@@ -154,6 +154,7 @@ vector<char> query_route_table(int family) {
throw exception_base("sysctl failed");
}
buf.resize(len);
return buf;
}