diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp index 16aaa6e..3660735 100644 --- a/src/net.cpp +++ b/src/net.cpp | |||
| @@ -278,7 +278,7 @@ string GetDiagnosticsText() | |||
| 278 | { | 278 | { |
| 279 | if (pnode->fInbound) | 279 | if (pnode->fInbound) |
| 280 | nInbound++; | 280 | nInbound++; |
| 281 | if (pnode->strBtfMeeting.compare(0, 6, "onion ") == 0) | 281 | if (pnode->strBtfMeeting.find(".onion:") != string::npos) |
| 282 | nDirectOnion++; | 282 | nDirectOnion++; |
| 283 | else if (!pnode->strBtfMeeting.empty()) | 283 | else if (!pnode->strBtfMeeting.empty()) |
| 284 | nRendezvous++; | 284 | nRendezvous++; |