diff options
author | laanwj <126646+laanwj@users.noreply.github.com> | 2024-04-28 11:40:19 +0200 |
---|---|---|
committer | laanwj <126646+laanwj@users.noreply.github.com> | 2024-04-28 11:40:19 +0200 |
commit | a68fed111be393ddbbcd7451f78bc63601253ee0 (patch) | |
tree | 92d2e12f885562b522903bcf30305849c72e67d9 /src/net.h | |
parent | 7766dd280d9a4a7ffdfcec58224d0985cfd4169b (diff) |
net: Fix misleading comment for Discover
All network addresses are being iterated over and added, not just the first one per interface.
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 3 |
1 files changed, 1 insertions, 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(); |