mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-06-02 15:32:34 +02: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
@ -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…
Reference in New Issue
Block a user