Skip to content

Commit 693535d

Browse files
committed
Print number of found interfaces
1 parent bfcd917 commit 693535d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/lib-dhcp/src/utils.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ pub fn select_network_interface(
5151
) -> Result<Option<NetworkInterface>, InterfaceError> {
5252
let interfaces = NetworkInterface::show()?;
5353

54+
println!("Found {} interfaces", interfaces.len());
55+
5456
for interface in interfaces {
5557
println!("{interface:?}");
5658
// Return immediately when we found the interface with the

0 commit comments

Comments
 (0)