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:
laanwj 2024-04-28 11:40:19 +02:00
parent 7766dd280d
commit a68fed111b

View file

@ -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();