diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2019-11-15 15:32:36 +0100 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2019-11-15 15:32:36 +0100 |
commit | 05710c455f1c759cf9bc1a1eaa6307fe564f15cc (patch) | |
tree | c671d703d0db93a9bc8f27d0e2b02d0422120352 /src/platform/linux/tun.rs | |
parent | Initial version of full UAPI parser (diff) | |
download | wireguard-rs-05710c455f1c759cf9bc1a1eaa6307fe564f15cc.tar.xz wireguard-rs-05710c455f1c759cf9bc1a1eaa6307fe564f15cc.zip |
Update UAPI semantics for remove
Diffstat (limited to 'src/platform/linux/tun.rs')
-rw-r--r-- | src/platform/linux/tun.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/linux/tun.rs b/src/platform/linux/tun.rs index 090569a..0bbae81 100644 --- a/src/platform/linux/tun.rs +++ b/src/platform/linux/tun.rs @@ -125,7 +125,7 @@ impl Tun for LinuxTun { type MTU = LinuxTunMTU; } -impl Platform for LinuxTun { +impl PlatformTun for LinuxTun { fn create(name: &str) -> Result<(Vec<Self::Reader>, Self::Writer, Self::MTU), Self::Error> { // construct request struct let mut req = Ifreq { |