Skip to content

Commit a68fed1

Browse files
committed
net: Fix misleading comment for Discover
All network addresses are being iterated over and added, not just the first one per interface.
1 parent 7766dd2 commit a68fed1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/net.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,7 @@ struct CSerializedNetMsg {
137137
/**
138138
* Look up IP addresses from all interfaces on the machine and add them to the
139139
* list of local addresses to self-advertise.
140-
* The loopback interface is skipped and only the first address from each
141-
* interface is used.
140+
* The loopback interface is skipped.
142141
*/
143142
void Discover();
144143

0 commit comments

Comments
 (0)