Skip to content

Commit

Permalink
IGN -> GZ
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <ichen@openrobotics.org>
  • Loading branch information
iche033 committed Aug 6, 2024
1 parent 73757e7 commit 3f55748
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/gz/transport/Discovery.hh
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,11 @@ namespace gz

// If the IP address that we're selecting as the main IP address of
// the host is invalid, we change it to 127.0.0.1 .
// This is probably because IGN_IP is set to a wrong value.
// This is probably because GZ_IP is set to a wrong value.
if (netIface == this->hostAddr && !succeed)
{
this->RegisterNetIface("127.0.0.1");
std::cerr << "Did you set the environment variable IGN_IP with a "
std::cerr << "Did you set the environment variable GZ_IP with a "
<< "correct IP address? " << std::endl
<< " [" << netIface << "] seems an invalid local IP "
<< "address." << std::endl
Expand Down

0 comments on commit 3f55748

Please sign in to comment.