mirror of
https://github.com/YGGverse/btracker-gemini.git
synced 2026-03-31 09:05:30 +00:00
use system SocketAddr value
This commit is contained in:
parent
b157171cc5
commit
fea85909cd
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ use std::path::PathBuf;
|
|||
#[command(version, about, long_about = None)]
|
||||
pub struct Argument {
|
||||
/// Bind server `host:port` to listen incoming connections on it
|
||||
#[arg(short, long, default_value_t = String::from("127.0.0.1:1965"))]
|
||||
#[arg(short, long, default_value_t = std::net::SocketAddrV4::new(std::net::Ipv4Addr::LOCALHOST, 1965).to_string())]
|
||||
pub bind: String,
|
||||
|
||||
/// Filepath to server identity in PKCS (PFX) format
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue