Hi Bernhard,
I am happy that you are taking a look at this bug, but this is not how the process works.
We have a guide on how to submit patches to the mailing list:
https://wiki.ipfire.org/devel/submit-patches
There are a thousand reasons why we are doing this as we are doing it. Please follow it.
-Michael
On 14 Apr 2019, at 00:04, Bernhard Bitsch Bernhard.Bitsch@gmx.de wrote:
Please find appended the solution.
Short description of the problem:
After adding a new lease, you are in editing mode. All fields are set right, but a second click ('update' ) is necessary. With determining the exact mode 'add/edit' this second click can be avoided for new entries ( new MAC/IP combination).
The patch adds determination of add/edit mode. If the MAC/IP pair exists in the list of fixed leases edit mode is selected, add mode is selected else.
Sorry, did not produce the patch from git but by diffing changed file and the core 129 original.
-Bernhard
EDIT: produced an error by blind copy & paste, should correct with this patch.<dhcp.cgi.patch>