| 340 | } |
| 341 | |
| 342 | void CNetBan::Init() |
| 343 | { |
| 344 | m_BanAddrPool.Reset(); |
| 345 | m_BanRangePool.Reset(); |
| 346 | |
| 347 | net_host_lookup("localhost", &m_LocalhostIPV4, NETTYPE_IPV4); |
| 348 | net_host_lookup("localhost", &m_LocalhostIPV6, NETTYPE_IPV6); |
| 349 | } |
| 350 | |
| 351 | void CNetBan::Update() |
| 352 | { |
no test coverage detected