diff --git a/daemon/daemon.go b/daemon/daemon.go index cd2ec19..a74cde7 100644 --- a/daemon/daemon.go +++ b/daemon/daemon.go @@ -154,7 +154,7 @@ func (d *daemon) updateLoop() { deleteList = append(deleteList, iface) } for _, iface := range deleteList { - slices.DeleteFunc(d.pendingIfaces, func(i string) bool { + d.pendingIfaces = slices.DeleteFunc(d.pendingIfaces, func(i string) bool { return i == iface }) }