mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-23 06:41:34 +00:00
protocols/tcp: Replace get_if_addrs
with if-addrs
(#1788)
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
This commit is contained in:
@ -31,7 +31,7 @@
|
||||
|
||||
use futures::{future::{self, Ready}, prelude::*};
|
||||
use futures_timer::Delay;
|
||||
use get_if_addrs::{IfAddr, get_if_addrs};
|
||||
use if_addrs::{IfAddr, get_if_addrs};
|
||||
use ipnet::{IpNet, Ipv4Net, Ipv6Net};
|
||||
use libp2p_core::{
|
||||
Transport,
|
||||
|
Reference in New Issue
Block a user