diff options
| author | 2017-08-28 19:28:53 +0100 | |
|---|---|---|
| committer | 2017-09-12 15:05:24 +0100 | |
| commit | 5a378e8954717c19deaa618fc326164680383505 (patch) | |
| tree | 079cdd528cd3f0da2408da9854307db39bd0c8b8 /src/inspircd.cpp | |
| parent | Store the server endpoint as a sockaddrs in ListenSocket. (diff) | |
Change FailedPortList to store a sockaddrs/int instead of string.
Diffstat (limited to 'src/inspircd.cpp')
| -rw-r--r-- | src/inspircd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index a3be309bf..bc0875502 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -437,7 +437,7 @@ InspIRCd::InspIRCd(int argc, char** argv) : int j = 1; for (FailedPortList::iterator i = pl.begin(); i != pl.end(); i++, j++) { - std::cout << j << ".\tAddress: " << (i->first.empty() ? "<all>" : i->first) << " \tReason: " << i->second << std::endl; + std::cout << j << ".\tAddress: " << i->first.str() << " \tReason: " << strerror(i->second) << std::endl; } std::cout << std::endl << "Hint: Try using a public IP instead of blank or *" << std::endl; |
