Skip to content

Commit 0e1ffd5

Browse files
committed
Don't print local IPs (unless /showip is used)
On my machine I get 3 of these link-local addresses for each of IPv4 and IPv6. I think only 1 of each type will even work for LAN connections. So these logs seem to be of limited benefit to users since one who has enough knowledge to know which one to use would have known how to look it up anyway. Furthermore, this information can make people hesitate to post logs due to concerns that they contain sensitive information.
1 parent 7d15e92 commit 0e1ffd5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/engine/qcommon/net_ip.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1507,8 +1507,6 @@ static void NET_GetLocalAddress()
15071507
}
15081508

15091509
freeifaddrs( ifap );
1510-
1511-
Sys_ShowIP();
15121510
}
15131511
}
15141512

@@ -1564,8 +1562,6 @@ static void NET_GetLocalAddress()
15641562
NET_AddLocalAddress( "", search->ai_addr, ( struct sockaddr * ) &mask6 );
15651563
}
15661564
}
1567-
1568-
Sys_ShowIP();
15691565
}
15701566

15711567
if ( res )

0 commit comments

Comments
 (0)