diff --git a/Cargo.toml b/Cargo.toml index c7285e7..46186f8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,11 +15,11 @@ libc = "0.2" [target.'cfg(target_os = "android")'.dependencies] # DL Open -dlopen2 = { version = "0.4", default-features = false } +dlopen2 = { version = "0.5", default-features = false } once_cell = "1" # netlink -netlink-packet-core = "0.5" -netlink-packet-route = "0.15" +netlink-packet-core = "0.7" +netlink-packet-route = "0.17" netlink-sys = "0.8" [target.'cfg(windows)'.dependencies] diff --git a/src/interface/android.rs b/src/interface/android.rs index 3fad9df..3f0b16e 100644 --- a/src/interface/android.rs +++ b/src/interface/android.rs @@ -243,7 +243,7 @@ pub mod netlink { self.size = 0; } match packet.payload { - NetlinkPayload::Done => { + NetlinkPayload::Done(_) => { self.done = true; return None; }