Skip to content

Commit

Permalink
Remove the changes done for the ChipTool SDK e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Sep 23, 2024
1 parent 5e17a76 commit fe69729
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#![warn(clippy::large_types_passed_by_value)]

use core::future::Future;
use core::net::{Ipv4Addr, Ipv6Addr, SocketAddr, SocketAddrV6};
use core::net::{Ipv6Addr, SocketAddr, SocketAddrV6};
use core::pin::pin;

use edge_nal::{UdpBind, UdpSplit};
Expand Down Expand Up @@ -523,10 +523,10 @@ where
&Host {
id: 0,
hostname: &hostname,
ip: Ipv4Addr::UNSPECIFIED, //_netif_conf.ipv4,
ip: _netif_conf.ipv4,
ipv6: _netif_conf.ipv6,
},
None, //Some(_netif_conf.ipv4),
Some(_netif_conf.ipv4),
Some(_netif_conf.interface),
)
.await?;
Expand Down
5 changes: 2 additions & 3 deletions src/netif.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,9 @@ mod unix {
NetifSearchFlags::NON_LOOPBACK
| NetifSearchFlags::NON_PEER_TO_PEER
| NetifSearchFlags::BROADCAST
//| NetifSearchFlags::IPV4
| NetifSearchFlags::IPV4
| NetifSearchFlags::IPV6
//| NetifSearchFlags::IPV6_LINK_LOCAL
| NetifSearchFlags::IPV6_NON_LINK_LOCAL
| NetifSearchFlags::IPV6_LINK_LOCAL
}
}

Expand Down

0 comments on commit fe69729

Please sign in to comment.