diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-11-18 13:41:51 +0100 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-11-18 13:45:18 +0100 |
commit | ec74882b54f9dd7fabc512f70d88b1069ff4f32f (patch) | |
tree | 18f7fa119acfde0832ec6e78e7c41e4ccc1b5fd8 | |
parent | 3da99fcc6662c7467a737d259352912984eb058d (diff) |
update netlinklib
-rw-r--r-- | Cargo.lock | 4 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | src/main.rs | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -681,8 +681,8 @@ dependencies = [ [[package]] name = "rsdsl_netlinklib" -version = "0.4.2" -source = "git+https://github.com/rsdsl/netlinklib.git#1954c7c7e975104fa651ccded4358826e8b3c8d8" +version = "0.4.3" +source = "git+https://github.com/rsdsl/netlinklib.git#526c694bcdb08da99aab6da308775fe5e0164b95" dependencies = [ "futures", "libc", @@ -14,7 +14,7 @@ md5 = "0.7.0" ppproperly = { git = "https://github.com/rsdsl/ppproperly.git", version = "0.1.0" } rand = "0.8.5" rsdsl_ip_config = { git = "https://github.com/rsdsl/ip_config.git", version = "0.2.4" } -rsdsl_netlinklib = { git = "https://github.com/rsdsl/netlinklib.git", version = "0.4.2", default-features = false, features = ["status"] } +rsdsl_netlinklib = { git = "https://github.com/rsdsl/netlinklib.git", version = "0.4.3", default-features = false, features = ["status"] } serde = "1.0" serde_json = "1.0" socket2 = "0.5.5" diff --git a/src/main.rs b/src/main.rs index a89e3d3..b5e7876 100644 --- a/src/main.rs +++ b/src/main.rs @@ -18,7 +18,7 @@ struct Config { #[tokio::main] async fn main() -> Result<()> { - let conn = Connection::new()?; + let conn = Connection::new().await?; println!("[info] wait for eth1"); conn.link_wait_up(INTERFACE.into()).await?; |