Move this global declaration to the proper file rather than backend code
Help ticket #3449:
Improve data validation to avoid save a host/subnet or a IPv4 withinvalid mask. The reported error is on javascript and only happen onIE8,but this fix will prevent the same issue happening in the future ona different browser.
Use correct parameter (bootfile-url) to configure netboot on DHCPdv6, it fixes #3421
Use htmlspecialchars(), a better solution for #2952
Some tweaking to handle when switching off dhcpv6.
Use descr as the field name for voucher description so it gets CDATA protection. Fixes #3441
Merge pull request #917 from phil-davis/master
Enhanced validation of general DNS servers and gateways
Improve processing of DNS server changes
What a pain this was. The user can blank out a DNS server from a position in the middle of the list. e.g. they had all 4 entries previously filled, and then they blank out DNS server #3. The way the DNS servers are stored in the config, they are just the defined ones in an "un-indexed" array. So actually entries 1, 2 and 4 on the screen become 1st, 2nd and 3rd in the config. The selected gateways for 1, 2 and 4 then have to end up in positions 1, 2 and 3 to match the stored DNS servers....
Add a knob to let the user select which console (video or serial) is preferred in cases where there are multiple consoles present. Also provide a way to force this preference.
Add a mechanism by which the serial port can be forced on always regardless of the config setting. (useful for nano+vga setups)
View revisions
Also available in: Atom