aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Rutkovsky <alexvru@mail.ru>2022-06-06 16:47:06 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-06-06 16:47:06 +0300
commitdc15fd98c42d2db36ecc90721a4f446ea56bd4cc (patch)
tree4876cb2d9a3f3150576b0b586804768edb49a9ee
parent6ce12a7f532fd21519bb709b0eb84d734808cb2d (diff)
downloadydb-dc15fd98c42d2db36ecc90721a4f446ea56bd4cc.tar.gz
Support for automatic IPv6/v4 selection in IC KIKIMR-14977
REVIEW: 2590436 REVIEW: 2591733 x-ydb-stable-ref: 4b959f38814586dcd5b97efa6913d0136591007c
-rw-r--r--ydb/core/driver_lib/run/kikimr_services_initializers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ydb/core/driver_lib/run/kikimr_services_initializers.cpp b/ydb/core/driver_lib/run/kikimr_services_initializers.cpp
index 24752f26d4..eac22262db 100644
--- a/ydb/core/driver_lib/run/kikimr_services_initializers.cpp
+++ b/ydb/core/driver_lib/run/kikimr_services_initializers.cpp
@@ -718,7 +718,7 @@ void TBasicServicesInitializer::InitializeServices(NActors::TActorSystemSetup* s
} else {
TYandexQueryInitializer::SetIcPort(node.second.second);
icCommon->TechnicalSelfHostName = node.second.Host;
- TString address = "::"; //bind ipv6 interfaces by default
+ TString address;
if (node.second.first)
address = node.second.first;
auto listener = new TInterconnectListenerTCP(
@@ -738,7 +738,7 @@ void TBasicServicesInitializer::InitializeServices(NActors::TActorSystemSetup* s
auto &info = Config.GetDynamicNodeConfig().GetNodeInfo();
icCommon->TechnicalSelfHostName = info.GetHost();
- TString address = "::"; //bind ipv6 interfaces by default
+ TString address;
if (info.GetAddress()) {
address = info.GetAddress();
}