Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions feather/server/src/config.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! Loads an `Options` from a TOML config.

use std::{fs, net::Ipv4Addr, path::Path, str::FromStr};
use std::{fs, net::IpAddr, path::Path, str::FromStr};

use anyhow::Context;
use base::Gamemode;
Expand Down Expand Up @@ -78,7 +78,7 @@ impl Config {

#[derive(Debug, Deserialize)]
pub struct Network {
pub address: Ipv4Addr,
pub address: IpAddr,
pub port: u16,
pub compression_threshold: i32,
}
Expand Down