aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/ipv6_address/ipv6_address_p.h
blob: 1175f079028e6eeed7110759d74b7b33e884470d (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;
}