mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-03 14:37:11 +01:00
net: Fix misleading comment for Discover
All network addresses are being iterated over and added, not just the first one per interface.
This commit is contained in:
parent
7766dd280d
commit
a68fed111b
1 changed files with 1 additions and 2 deletions
|
@ -137,8 +137,7 @@ struct CSerializedNetMsg {
|
|||
/**
|
||||
* Look up IP addresses from all interfaces on the machine and add them to the
|
||||
* list of local addresses to self-advertise.
|
||||
* The loopback interface is skipped and only the first address from each
|
||||
* interface is used.
|
||||
* The loopback interface is skipped.
|
||||
*/
|
||||
void Discover();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue