Add missing node tracking for config-defined nodes
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
5
nodes.go
5
nodes.go
@@ -67,6 +67,11 @@ func (n *Nodes) updateLocked(target *Node, mac net.HardwareAddr, ips []net.IP, i
|
||||
|
||||
added := n.applyNodeUpdates(node, targetID, mac, ips, ifaceName, nodeName)
|
||||
|
||||
if node.Missing && source != "config" {
|
||||
node.Missing = false
|
||||
n.t.errors.ClearMissing(node)
|
||||
}
|
||||
|
||||
n.logUpdates(node, added, isNew, source)
|
||||
|
||||
if hasNewIP(added) {
|
||||
|
||||
Reference in New Issue
Block a user