aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorlaanwj <126646+laanwj@users.noreply.github.com>2024-04-28 11:40:19 +0200
committerlaanwj <126646+laanwj@users.noreply.github.com>2024-04-28 11:40:19 +0200
commita68fed111be393ddbbcd7451f78bc63601253ee0 (patch)
tree92d2e12f885562b522903bcf30305849c72e67d9 /src/net.h
parent7766dd280d9a4a7ffdfcec58224d0985cfd4169b (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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net.h b/src/net.h
index 46d9422695..55209324b1 100644
--- a/src/net.h
+++ b/src/net.h
@@ -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();