Skip to content

Commit 9c647fe

Browse files
committed
change version number
1 parent d938b60 commit 9c647fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pub struct DnsEntry {
1313
}
1414

1515
#[derive(Clap)]
16-
#[clap(version = "0.2", author = "Hoping White", about = "a trojan implementation using rust")]
16+
#[clap(version = "0.3", author = "Hoping White", about = "a trojan implementation using rust")]
1717
pub struct Opts {
1818
#[clap(subcommand)]
1919
pub mode: Mode,
@@ -27,7 +27,7 @@ pub struct Opts {
2727
pub log_level: u8,
2828
#[clap(short, long, default_value = "255", help = "set marker used by tproxy")]
2929
pub marker: u8,
30-
#[clap(short, long, default_value = "60", help = "time in seconds before closing an inactive connection")]
30+
#[clap(short, long, default_value = "120", help = "time in seconds before closing an inactive connection")]
3131
pub idle_timeout: u64,
3232
#[clap(skip)]
3333
dns_cache_duration: Duration,

0 commit comments

Comments
 (0)