Browse Source

minor changes

pull/61/head
ssrlive 3 years ago
parent
commit
11d4e4a0dc
  1. 2
      src/lib.rs
  2. 2
      src/main.rs

2
src/lib.rs

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

2
src/main.rs

@ -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…
Cancel
Save