diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-11-18 12:44:09 +0100 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-11-18 12:44:09 +0100 |
commit | 1954c7c7e975104fa651ccded4358826e8b3c8d8 (patch) | |
tree | 9e3e3aed304bc083424146374691b635306a9163 /src | |
parent | 4c1b3e1f637ce7cb0825ea1e00eb492888777d00 (diff) |
add missing prefix to blocking address_get equivalent0.4.2
Diffstat (limited to 'src')
-rw-r--r-- | src/blocking.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blocking.rs b/src/blocking.rs index 2ac66e9..5e5c1f9 100644 --- a/src/blocking.rs +++ b/src/blocking.rs @@ -54,7 +54,7 @@ pub mod addr { blockify!(address_add, link: String, addr: IpAddr, prefix_len: u8); blockify!(address_add_link_local, link: String, addr: IpAddr, prefix_len: u8); - pub fn get(&self, link: String) -> crate::Result<Vec<IpAddr>> { + pub fn address_get(&self, link: String) -> crate::Result<Vec<IpAddr>> { tokio::runtime::Runtime::new()? .block_on(async { self.0.address_get(link).await?.try_collect().await }) } |