Create the required number of rows for NTP time servers
depending on how many are already defined in the config, making sure to always have a minimum of 1.
Also I used the constant NUMTIMESERVERS that was defined up the top of this file to control the loop that limits the number saved to 10.
Note: There also needs to be a limit on the number of rows of time server data allowed to be added - at the moment you can keep pressing the Add button and enter loads of them, only the first 10 are saved.
Create the required number of rows for NTP time servers
depending on how many are already defined in the config, making sure to always have a minimum of 1.
Also I used the constant NUMTIMESERVERS that was defined up the top of this file to control the loop that limits the number saved to 10.
Note: There also needs to be a limit on the number of rows of time server data allowed to be added - at the moment you can keep pressing the Add button and enter loads of them, only the first 10 are saved.