| 70 | + to_hstring(cnt6) + L" IPv6 address" + (cnt6 > 1 ? L"es" : L""); |
| 71 | } |
| 72 | hstring Netif::IpLines() |
| 73 | { |
| 74 | hstring ret; |
| 75 | for (auto const& [_, addr] : m_addresses) |
| 76 | { |
| 77 | if (ret.empty()) |
| 78 | { |
| 79 | ret = ret + addr; |
| 80 | } |
| 81 | else |
| 82 | { |
| 83 | ret = ret + L"\r\n" + addr; |
| 84 | } |
| 85 | } |
| 86 | return ret; |
| 87 | } |
| 88 | |
| 89 | std::vector<Maple_App::Netif> Netif::EnumerateInterfaces() { |
| 90 |
nothing calls this directly
no outgoing calls
no test coverage detected