add flags for disabling discovery and controlling logging

This commit is contained in:
Ian Gulliver
2026-01-17 21:02:30 -08:00
parent 477b6e9c99
commit 3c8afa9bdf
4 changed files with 54 additions and 21 deletions

2
arp.go
View File

@@ -37,7 +37,7 @@ func (t *Tendrils) readARPTable() {
entries := t.parseARPTable()
for _, entry := range entries {
if t.iface != "" && entry.iface != t.iface {
if t.Interface != "" && entry.iface != t.Interface {
continue
}
if isBroadcastOrZero(entry.mac) {