aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/messagebus/coreconn.cpp
diff options
context:
space:
mode:
authorvladimir <vladimir@yandex-team.ru>2022-02-10 16:50:28 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:28 +0300
commit3e7ff6e4ee637c04455854159e84850e613ebc16 (patch)
tree1ea1786a47f104a0657e0f935ce63dcaeec3fd26 /library/cpp/messagebus/coreconn.cpp
parentdad82c0e0157ebad6bfd7cf0e5fb3c15c42922b3 (diff)
downloadydb-3e7ff6e4ee637c04455854159e84850e613ebc16.tar.gz
Restoring authorship annotation for <vladimir@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/messagebus/coreconn.cpp')
-rw-r--r--library/cpp/messagebus/coreconn.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/messagebus/coreconn.cpp b/library/cpp/messagebus/coreconn.cpp
index d9411bb5db..7ea9b6cce7 100644
--- a/library/cpp/messagebus/coreconn.cpp
+++ b/library/cpp/messagebus/coreconn.cpp
@@ -12,7 +12,7 @@ namespace NBus {
TBusInstant Now() {
return millisec();
}
-
+
EIpVersion MakeIpVersion(bool allowIpv4, bool allowIpv6) {
if (allowIpv4) {
if (allowIpv6) {
@@ -23,8 +23,8 @@ namespace NBus {
} else if (allowIpv6) {
return EIP_VERSION_6;
}
-
+
ythrow yexception() << "Neither of IPv4/IPv6 is allowed.";
}
-}
+}