Files
oott/src/main.rs
T

18 lines
349 B
Rust
Raw Normal View History

use log::{debug, info};
mod config;
2026-01-13 07:57:47 -05:00
mod device_finders;
2026-01-13 15:48:17 -05:00
#[tokio::main]
async fn main() {
env_logger::init();
info!("Starting up oott");
2026-01-13 07:57:47 -05:00
let devices = device_finders::arp::find("eno1").await;
info!("Done with ARP probes");
2026-01-13 07:57:47 -05:00
for device in devices.iter() {
debug!("Device found {}", device);
2026-01-13 07:57:47 -05:00
}
info!("Exiting");
2026-01-13 07:57:47 -05:00
}