Changeset 12348 for trunk


Ignore:
Timestamp:
10/31/11 18:53:49 (13 years ago)
Author:
tbretz
Message:
Use the connection to the DNS as the IP address to get the Local IP.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/DimSetup.cc

    r12082 r12348  
    168168    }
    169169
    170     const string loc = host.empty() ? Dim::GetLocalIp() : host;
     170    const string loc = host.empty() ? Dim::GetLocalIp(dns.c_str()) : host;
    171171
    172172    setenv("DIM_DNS_NODE",  dns.c_str(), 1);
Note: See TracChangeset for help on using the changeset viewer.