aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/blocking.rs2
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 })
}