mirror of
https://github.com/WiiLink24/wfc-server.git
synced 2026-07-19 01:05:46 -05:00
MatchMaking: Parse IP as signed integer
This commit is contained in:
parent
5e122899cb
commit
53ce36c35b
|
|
@ -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))
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user