protocols/tcp: Replace get_if_addrs with if-addrs (#1788)

Signed-off-by: koushiro <koushiro.cqx@gmail.com>
This commit is contained in:
Qinxuan Chen
2020-10-09 20:18:39 +08:00
committed by GitHub
parent 6b3500b931
commit b74285a8fb
6 changed files with 10 additions and 6 deletions

View File

@ -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,