Skip to content

Commit bbbf571

Browse files
committed
when creating XTNetwork, specifically look up backend hostname
1 parent 2c31731 commit bbbf571

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/CTINetwork.C

+1-2
Original file line numberDiff line numberDiff line change
@@ -491,8 +491,7 @@ XTNetwork::XTNetwork( bool, /* dummy for distinguising from other constructors *
491491
set_StartupTimeout( timeOut );
492492

493493
// ensure we know our node's hostname
494-
std::string myHost;
495-
XPlat::NetUtils::GetLocalHostName( myHost );
494+
std::string myHost = cti_be_getNodeHostname();
496495
set_LocalHostName( myHost );
497496

498497
disable_FailureRecovery();

0 commit comments

Comments
 (0)