minor changes

This commit is contained in:
ssrlive 2023-08-23 10:45:37 +08:00
parent d7861128f4
commit 11d4e4a0dc
2 changed files with 2 additions and 2 deletions

View file

@ -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
}

View file

@ -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 {