]> git.ipfire.org Git - people/jschlag/ipfire-2.x.git/commit
dhcp.cgi: Fix incorrect { placement from patch 3724
authorAdolf Belka <adolf.belka@ipfire.org>
Tue, 16 Feb 2021 13:30:10 +0000 (14:30 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 16 Feb 2021 15:02:33 +0000 (15:02 +0000)
commit896fa74d68e83b344235dbd147b0e429aafb14d3
tree9bfc99a44108db4a0548158687bf403738863fd8
parent7c6a4babf851a13292f0cfa90ca9e3fbfc42525c
dhcp.cgi: Fix incorrect { placement from patch 3724

- When patch 3724 was created for bug #10743 a curly bracket was placed in the wrong place
This results in the overlap of two if loops meaning that there will be no validity
check carried out on Default Lease Time if Deny Known Clients is not checked.
- This patch moves the { bracket to the right location.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/dhcp.cgi