| 9 | } |
| 10 | |
| 11 | class CNetRange |
| 12 | { |
| 13 | public: |
| 14 | NETADDR m_LB; |
| 15 | NETADDR m_UB; |
| 16 | |
| 17 | bool IsValid() const { return m_LB.type == m_UB.type && NetComp(&m_LB, &m_UB) < 0; } |
| 18 | }; |
| 19 | |
| 20 | inline int NetComp(const CNetRange *pRange1, const CNetRange *pRange2) |
| 21 | { |
nothing calls this directly
no outgoing calls
no test coverage detected