aboutsummaryrefslogtreecommitdiffstats
path: root/src/platform/linux/tun.rs
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2019-12-09 13:21:12 +0100
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2019-12-09 13:21:12 +0100
commit115fa574a807877594c3b8cf467798fc0524d007 (patch)
tree07d487f3f8ef130d17536fb93b02f937b7bf66ae /src/platform/linux/tun.rs
parentFixed inbound job bug (add to sequential queue) (diff)
downloadwireguard-rs-115fa574a807877594c3b8cf467798fc0524d007.tar.xz
wireguard-rs-115fa574a807877594c3b8cf467798fc0524d007.zip
Move to run queue
Diffstat (limited to '')
-rw-r--r--src/platform/linux/tun.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/linux/tun.rs b/src/platform/linux/tun.rs
index 39b9320..fb905b9 100644
--- a/src/platform/linux/tun.rs
+++ b/src/platform/linux/tun.rs
@@ -312,7 +312,7 @@ impl LinuxTunStatus {
Err(LinuxTunError::Closed)
} else {
Ok(LinuxTunStatus {
- events: vec![],
+ events: vec![TunEvent::Up(1500)], // TODO: for testing
index: get_ifindex(&name),
fd,
name,