Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Commit

Permalink
Core: fix reporting wrong Instance port number
Browse files Browse the repository at this point in the history
  • Loading branch information
anonimal committed Nov 1, 2017
1 parent 9a3ac39 commit ae1370b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/instance.cc
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@ void Instance::Initialize()
map["port"].defaulted()
? RandInRange32(RouterInfo::MinPort, RouterInfo::MaxPort)
: map["port"].as<int>();
LOG(info) << "Instance: listening on port "
<< map["port"].as<int>(); // TODO(anonimal): fix
LOG(info) << "Instance: listening on port " << port;

// TODO(unassigned): context should be in core namespace (see TODO in router context)
context.Init(host, port);
Expand Down

0 comments on commit ae1370b

Please sign in to comment.