From 3fa928b3158ce33a57e9ba2c1913485eb409ff4b Mon Sep 17 00:00:00 2001 From: Mathias Hall-Andersen Date: Wed, 23 Oct 2019 10:32:18 +0200 Subject: Work on platform specific code (Linux) --- src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index aad8d02..4dac3cd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -6,12 +6,12 @@ extern crate jemallocator; #[global_allocator] static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc; -// mod config; +mod configuration; mod platform; mod wireguard; -use platform::TunBind; +use platform::PlatformTun; fn main() { - let (readers, writers, mtu) = platform::PlatformTun::create("test").unwrap(); + let (readers, writer, mtu) = platform::TunInstance::create("test").unwrap(); } -- cgit v1.2.3-59-g8ed1b