Skip to content
Snippets Groups Projects
Commit 04a63e56 authored by David Goulet's avatar David Goulet
Browse files

onionmasq: Cleanup comment


Signed-off-by: default avatarDavid Goulet <dgoulet@ev0ke.net>
parent c74d7b85
No related branches found
Tags debian-version-0.0.7+0.0.8rc1-1
No related merge requests found
......@@ -118,10 +118,8 @@ impl<'a> OnionTunnel<'a> {
// The second poll we do process packets in the receive queue from the first poll.
self.iface_poll(timestamp, VirtualTunPollMode::Processing);
// XXX: This is very hackish but also unclear if that is the right way to work.
//
// Essentially, we build the AsyncTun() object with ourself and then set a tokio
// timeout on the future before restarting the loop.
// XXX: There is probably a cleaner way to poll on the VirtualTun then directly
// acessing the AsynFd object.
let iface = self.iface.borrow();
let read_fut = iface.device().async_device().readable();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment