Changeset - r9853:e30a455a27c1
[Not reviewed]
master
0 1 0
rubidium - 16 years ago 2008-08-04 19:07:37
rubidium@openttd.org
(svn r13997) -Fix (r13988): in some cases no broadcast addresses would be found.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/network/core/host.cpp
Show inline comments
 
@@ -156,7 +156,7 @@ static int NetworkFindBroadcastIPsIntern
 

	
 
	const char *buf_end = buf + ifconf.ifc_len;
 
	int index = 0;
 
	for (const char *p = buf; p < buf_end && index != 0;) {
 
	for (const char *p = buf; p < buf_end && index != limit;) {
 
		const struct ifreq* req = (const struct ifreq*)p;
 

	
 
		if (req->ifr_addr.sa_family == AF_INET) {
0 comments (0 inline, 0 general)