HomeVyOS Platform

op-mode: T1375: Allow to clear dhcp-server lease

Description

op-mode: T1375: Allow to clear dhcp-server lease

Allow to reset dhcp-leases per ip
Parse file '/config/dhcpd.leases' find match section 'lease x.x.x.x {}'
And remove this section

clear dhcp-server lease 192.0.2.21

(cherry picked from commit a83eecfeee1f925c914a46623dd35f96b48389f8)

Details

Provenance
ViacheslavAuthored on Jun 15 2022, 12:32 PM
Parents
rVYOSONEXa3559f7e429c: Merge pull request #1271 from sever-sever/T2580-equ
Branches
Loading...
Tags
Loading...