Remove unused test code.
- make naming consistent with the kernel module. - better distribution of functionality from src/wireguard.rs - more consistent "import pattern" throughout the project. - remove unused test code.
This commit is contained in:
@@ -299,7 +299,7 @@ impl LinuxTunStatus {
|
||||
Err(LinuxTunError::Closed)
|
||||
} else {
|
||||
Ok(LinuxTunStatus {
|
||||
events: vec![],
|
||||
events: vec![TunEvent::Up(1500)],
|
||||
index: get_ifindex(&name),
|
||||
fd,
|
||||
name,
|
||||
|
||||
Reference in New Issue
Block a user