MCPcopy Create free account
hub / github.com/YtFlow/Maple / IpLines

Method IpLines

Maple.App/Model/Netif.cpp:72–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected