mirror of
https://github.com/WiiLink24/wfc-server.git
synced 2026-09-14 03:25:52 -05:00
QR2/SB: Allow different public IP for TCP and UDP
This commit is contained in:
@@ -205,7 +205,7 @@ func handleServerListRequest(conn net.Conn, buffer []byte) {
|
||||
continue
|
||||
}
|
||||
|
||||
if publicip == callerPublicIP {
|
||||
if publicip == callerPublicIP || server["+gppublicip"] == callerPublicIP {
|
||||
// Use the real public IP if it matches the caller's
|
||||
ip, err := strconv.ParseInt(publicip, 10, 32)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user