generated from PlexSheep/rs-base
fix: first port was skipped for challenge hosting
All checks were successful
cargo devel CI / cargo CI (push) Successful in 2m1s
All checks were successful
cargo devel CI / cargo CI (push) Successful in 2m1s
This commit is contained in:
parent
9437eb5a54
commit
546b6e5908
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ impl ChallengeDesc {
|
|||
hints: hints.iter().map(|a| a.to_string()).collect(),
|
||||
solution: solution.to_string(),
|
||||
description: description.to_string(),
|
||||
addr: SocketAddr::new(base_addr.ip(), base_addr.port() + id as u16),
|
||||
addr: SocketAddr::new(base_addr.ip(), base_addr.port() + id as u16 - 1),
|
||||
}
|
||||
}
|
||||
/// Returns a [`SocketAddr`] for the challenge.
|
||||
|
|
Loading…
Add table
Reference in a new issue