mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-06-21 16:41:01 +00:00
minor changes
This commit is contained in:
parent
d7861128f4
commit
11d4e4a0dc
2 changed files with 2 additions and 2 deletions
|
@ -119,7 +119,7 @@ impl Options {
|
|||
self
|
||||
}
|
||||
|
||||
pub fn with_ipv6(mut self) -> Self {
|
||||
pub fn with_ipv6_enabled(mut self) -> Self {
|
||||
self.ipv6_enabled = true;
|
||||
self
|
||||
}
|
||||
|
|
|
@ -92,7 +92,7 @@ fn main() -> ExitCode {
|
|||
}
|
||||
|
||||
if args.ipv6_enabled {
|
||||
options = options.with_ipv6();
|
||||
options = options.with_ipv6_enabled();
|
||||
}
|
||||
|
||||
let interface = match args.tun_fd {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue