mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-18 09:35:50 +00:00
[Service] Fix valve master server ip gatherer being broken (again)
This commit is contained in:
parent
c10555a9d7
commit
65c56dc196
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ impl ValveMasterServer {
|
|||
|
||||
let mut ips: Vec<(IpAddr, u16)> = Vec::new();
|
||||
|
||||
while buf.remaining_length() == 0 {
|
||||
while buf.remaining_length() > 0 {
|
||||
let ip = IpAddr::V4(Ipv4Addr::new(
|
||||
buf.read::<u8>()?,
|
||||
buf.read::<u8>()?,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue