Auto-detect network interface when not configured

If no interface is set in the config, the ARP scanner now picks the
first non-loopback, up, IPv4-enabled interface automatically. The
setting is optional in the TOML config, sample config, and Nix module.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
rzuasti
2026-05-29 07:35:25 -04:00
co-authored by Claude Sonnet 4.6
parent 49adadf059
commit 08f2dc8340
6 changed files with 124 additions and 18 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ pub struct Database {
#[derive(Debug, Deserialize, Clone)]
pub struct Networking {
pub interface: String,
pub interface: Option<String>,
}
#[derive(Debug, Deserialize, Clone)]