aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorJake McGinty <me@jake.su>2018-02-05 15:54:26 +0000
committerJake McGinty <me@jake.su>2018-02-05 15:54:26 +0000
commitda0fef8beecacc186d9d9c95e7914f975dc4b364 (patch)
tree90b76e0489a34c1a190d2e031f3d0c97f93148d3 /src/main.rs
parentmake the fallback-session code a bit more canonical rust (diff)
downloadwireguard-rs-da0fef8beecacc186d9d9c95e7914f975dc4b364.tar.xz
wireguard-rs-da0fef8beecacc186d9d9c95e7914f975dc4b364.zip
use dual-stack ipv6 UDP socket
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 5c16224..88371b4 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,3 +1,4 @@
+#![feature(ip_constructors)]
#![allow(unused_imports)]
#[macro_use] extern crate error_chain;
@@ -16,6 +17,7 @@ extern crate nix;
extern crate pnet;
extern crate rand;
extern crate snow;
+extern crate socket2;
extern crate structopt;
extern crate time;
extern crate tokio_core;