blob: 44bec74579f37c6e04ea54d2d44d91d7c0facbf7 (
plain) (
blame)
1
2
3
4
5
6
7
|
#pragma once
#include "ipv6_address.h"
inline TIpv6Address::TIpType FigureOutType(TStringBuf srcStr) noexcept {
return srcStr.Contains(':') ? TIpv6Address::Ipv6 : TIpv6Address::Ipv4;
}
|