]> git.ipfire.org Git - ipfire-2.x.git/commit
header.pl: Fix parsing BOOTP leases
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 15 May 2024 13:20:03 +0000 (13:20 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 19 May 2024 13:11:34 +0000 (15:11 +0200)
commit6515a2780201e9209e370cd4562bef5cb771f1a5
tree33011d4711e55a7cdea0f63e3cda043810a1b0c6
parent25b6a76646691f91f6f267792700dde6adcfc91b
header.pl: Fix parsing BOOTP leases

If the lease has been handed out over BOOTP, it will never expire.
However, the parser did not account for this case at all which is fixed
in this patch.

Fixes: #13689 - BOOTP breaks the list of DHCP leases due to erroneous parsing
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/cfgroot/header.pl