mirror of
https://github.com/dndx/phantun.git
synced 2025-09-16 04:04:29 +08:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
b89b683bb2 | ||
|
838cfa6738 |
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "phantun"
|
name = "phantun"
|
||||||
version = "0.4.0"
|
version = "0.4.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
authors = ["Datong Sun <dndx@idndx.com>"]
|
authors = ["Datong Sun <dndx@idndx.com>"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
@@ -73,7 +73,7 @@ async fn main() -> io::Result<()> {
|
|||||||
.long("ipv4-only")
|
.long("ipv4-only")
|
||||||
.short('4')
|
.short('4')
|
||||||
.required(false)
|
.required(false)
|
||||||
.help("Do not assign IPv6 addresses to Tun interface")
|
.help("Only use IPv4 address when connecting to remote")
|
||||||
.takes_value(false)
|
.takes_value(false)
|
||||||
.conflicts_with_all(&["tun_local6", "tun_peer6"]),
|
.conflicts_with_all(&["tun_local6", "tun_peer6"]),
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user