mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-04 07:07:45 +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
|
* Look up IP addresses from all interfaces on the machine and add them to the
|
||||||
* list of local addresses to self-advertise.
|
* list of local addresses to self-advertise.
|
||||||
* The loopback interface is skipped and only the first address from each
|
* The loopback interface is skipped.
|
||||||
* interface is used.
|
|
||||||
*/
|
*/
|
||||||
void Discover();
|
void Discover();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue