like idk this compiles or not

This commit is contained in:
lda
2025-10-27 04:04:37 +07:00 Unverified
parent efe557a72e
commit e8db4e831d
7 changed files with 249 additions and 21 deletions
+1 -3
View File
@@ -8,14 +8,11 @@
//! 2. incorporate ip -j;
//! 3. small 1-5 second caching;
use axum::{Router, routing::get};
use tokio::net::TcpListener;
mod arpparse;
pub mod assets;
mod dhcpparse;
mod route;
mod utils;
use std::io;
#[cfg(target_os = "linux")]
#[tokio::main]
@@ -36,6 +33,7 @@ async fn entry() -> io::Result<()> {
#[cfg(not(target_os = "linux"))]
fn main() -> color_eyre::Result<()> {
use std::net::ToSocketAddrs;
color_eyre::install()?;
// use crate::arpparse::NUDState;
// println!("{}", NUDState::Reachable.to_string().to_lowercase());