On 4/3/24 12:46, Max Carrara wrote: > IMO the closures here and below could later be put into something like > proxmox-sys (or similar) as freestanding functions without static data > and then called here - but this is fine as it is; just an idea!
Yes, we are lacking networking-related helpers there afaict and it would be a good fit imo. I wanted to check proxmox-backup if there are any similar methods there already when I daemonize the whole firewall since that would require touching those functions anyway (removing the OnceLock's). Surely we have something related to getting network configuration there already... _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel