mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-18 16:01:00 +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
|
||||
* 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…
x
Reference in New Issue
Block a user