From 1e8bc535c1cd26e89431877cc5f0d66a4a538528 Mon Sep 17 00:00:00 2001 From: Tim Zhang Date: Tue, 1 Jun 2021 11:12:50 +0800 Subject: [PATCH] CI: Fix rtnetlink example Got: error[E0432]: unresolved import `netlink_proto::sys::constants` --> rtnetlink/examples/ip_monitor.rs:3:25 | 3 | use netlink_proto::sys::constants::*; | ^^^^^^^^^ could not find `constants` in `sys` When run `cd rtnetlink && cargo test` This commit will fix this problem. Signed-off-by: Tim Zhang --- rtnetlink/examples/ip_monitor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtnetlink/examples/ip_monitor.rs b/rtnetlink/examples/ip_monitor.rs index 7931c7e7..7dab1ff5 100644 --- a/rtnetlink/examples/ip_monitor.rs +++ b/rtnetlink/examples/ip_monitor.rs @@ -1,6 +1,6 @@ use futures::stream::StreamExt; -use netlink_proto::sys::constants::*; +use netlink_packet_route::constants::*; use rtnetlink::{new_connection, sys::SocketAddr}; #[tokio::main]