mirror of
https://github.com/WiiLink24/wfc-server.git
synced 2026-08-22 08:34:21 -05:00
MatchMaking: Parse IP as signed integer
This commit is contained in:
@@ -133,7 +133,7 @@ func handleServerListRequest(conn net.Conn, buffer []byte) {
|
||||
continue
|
||||
}
|
||||
|
||||
ip, err := strconv.ParseUint(publicip, 10, 32)
|
||||
ip, err := strconv.ParseInt(publicip, 10, 32)
|
||||
if err != nil {
|
||||
logging.Error(ModuleName, "Server has invalid public IP value:", aurora.Cyan(publicip))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user