aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/messagebus/coreconn.cpp
diff options
context:
space:
mode:
authorvladimir <vladimir@yandex-team.ru>2022-02-10 16:50:29 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:29 +0300
commit4bac7bacd041dac72ece081598805d03d2e80a3e (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/messagebus/coreconn.cpp
parent3e7ff6e4ee637c04455854159e84850e613ebc16 (diff)
downloadydb-4bac7bacd041dac72ece081598805d03d2e80a3e.tar.gz
Restoring authorship annotation for <vladimir@yandex-team.ru>. Commit 2 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 7ea9b6cce7..d9411bb5db 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.";
}
-}
+}