mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-05-14 05:52:48 +00:00
Refactor
This commit moves some essential types to lib and fixes one clippy warning: https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names
This commit is contained in:
parent
e6e6c70006
commit
20dc6f78f1
7 changed files with 57 additions and 57 deletions
|
@ -12,8 +12,7 @@ mod tests {
|
|||
use nix::unistd::Pid;
|
||||
use serial_test::serial;
|
||||
|
||||
use tun2proxy::tun2proxy::Options;
|
||||
use tun2proxy::{main_entry, Proxy, ProxyType};
|
||||
use tun2proxy::{main_entry, Options, Proxy, ProxyType};
|
||||
|
||||
static TUN_TEST_DEVICE: &str = "tun0";
|
||||
static ALL_ROUTES: [&str; 4] = ["0.0.0.0/1", "128.0.0.0/1", "::/1", "8000::/1"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue