aboutsummaryrefslogtreecommitdiffstats
path: root/src/interface/grim_reaper.rs
diff options
context:
space:
mode:
authorJake McGinty <me@jake.su>2018-04-05 01:17:28 -0700
committerJake McGinty <me@jake.su>2018-04-05 01:24:14 -0700
commite6da2c4a21a3cd0ceaa80d81ba383e2d0f7ff8ca (patch)
treea701349083564fc3c09b4943f6f0c5001153f233 /src/interface/grim_reaper.rs
parentudp: only convert 'mapped', not 'compatible' adddresses, to IPv4 internally (diff)
downloadwireguard-rs-e6da2c4a21a3cd0ceaa80d81ba383e2d0f7ff8ca.tar.xz
wireguard-rs-e6da2c4a21a3cd0ceaa80d81ba383e2d0f7ff8ca.zip
reaper: only listen for own UDS deletion.
Diffstat (limited to '')
-rw-r--r--src/interface/grim_reaper.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interface/grim_reaper.rs b/src/interface/grim_reaper.rs
index 3a7c48f..1c5029d 100644
--- a/src/interface/grim_reaper.rs
+++ b/src/interface/grim_reaper.rs
@@ -21,7 +21,7 @@ impl GrimReaper {
thread::Builder::new()
.name("grim reaper".into())
.spawn(move || {
- thread::sleep(Duration::from_millis(500));
+ thread::sleep(Duration::from_millis(500)); // TODO we shouldn't need this.
let mut watcher = raw_watcher(std_tx).unwrap();
watcher.watch(path, RecursiveMode::Recursive).unwrap();