| 107 | } |
| 108 | |
| 109 | static inline TString Ip4Or6ToString(const TIp4Or6& ip) { |
| 110 | if (std::holds_alternative<TIp6>(ip)) { |
| 111 | return Ip6ToString(std::get<TIp6>(ip)); |
| 112 | } else { |
| 113 | return IpToString(std::get<TIp4>(ip)); |
| 114 | } |
| 115 | } |
| 116 | |
| 117 | // for TIp4 or TIp6, not TIp4Or6 |
| 118 | template <class TIp> |
nothing calls this directly
no test coverage detected