From 8b15f041af85791c149015a07f8dc004f674eee0 Mon Sep 17 00:00:00 2001 From: dignifiedquire Date: Mon, 10 Jul 2023 12:01:02 +0200 Subject: [PATCH 1/2] feat: update android deps --- Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 94b6418..fa1de52 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] From b1b77ef737dd50e4ade6b9e0f5234f25eb192cfa Mon Sep 17 00:00:00 2001 From: dignifiedquire Date: Mon, 10 Jul 2023 11:48:18 +0200 Subject: [PATCH 2/2] api fixup --- src/interface/android.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }