mirror of
https://github.com/rzuasti/oott.git
synced 2026-07-08 19:21:54 +02:00
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:
co-authored by
Claude Sonnet 4.6
parent
49adadf059
commit
08f2dc8340
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user