]> git.puffer.fish Git - mirror/pve-network.git/commit
sdn: dnsmasq: extract function that generates the ethers file path
authorStefan Lendl <s.lendl@proxmox.com>
Fri, 5 Apr 2024 13:18:00 +0000 (15:18 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 8 Apr 2024 15:57:18 +0000 (17:57 +0200)
commit23e7fe3197145e8ba5702ff832df11389a3a1f6a
treeb400f2ac6fe4a009b33da702eeeaed02ec2b04d2
parentcac88dfa471ab514f36ae72d51c5db2ae5de2d55
sdn: dnsmasq: extract function that generates the ethers file path

Extracted to a function so it can be mocked in tests.

Signed-off-by: Stefan Lendl <s.lendl@proxmox.com>
Reviewed-by: Max Carrara <m.carrara@proxmox.com>
Tested-by: Max Carrara <m.carrara@proxmox.com>
Reviewed-by: Stefan Hanreich <s.hanreich@proxmox.com>
Tested-by: Stefan Hanreich <s.hanreich@proxmox.com>
src/PVE/Network/SDN/Dhcp/Dnsmasq.pm