Fix IPv6 prefix calculation for OpenVPN track interface
Adds missing JS code (originally from interfaces.php) to update the GUI
description. While there clarify that only 6rd WANs are supported.
Clean up and modernize
- Properly quote variables
- Use builtin getopts instead of forking
- Use builtin substring processing instead of forking to sed
Force the OpenVPN client MTU when set on assigned interface.
An option to filter the server-pulled MTU is needed for OpenVPN clients.
Followup to fb490d5ff0f9eb5a42a8b20e6f2d9e4001252d57.
DDNS: Respect preference for cert verification in custom entries without a username. Fix #16690
A username is not be required for the verify preference to work. This
change allows for the option to be used regardless and sets the verify
option by default for new entries.
Follow system log level preference for daemon logs.
This is needed for php-fpm to follow correct priority from logger().
Followup to 0370993ffd98ea1912181d65e8d75f29028a4cbc.
Refactor msort(). Fix #16654
The msort() function doesn't account for sorting flags. Replace the logic
the native PHP function array_multisort() and update msort() to accept
sorting flags. Additionally include the SORT_NATURAL flag by default.
Merge pull request #4725 from dbenesj/ldap-group-base-dn
Co-authored-by: Marcos Mendoza <mmendoza at netgate.com>
Add option to search LDAP group in base DN. Implement #16029
Restore log level for daemon facility
Originally both daemon.none and daemon.info were specified. This recently
changed to only daemon.none with commit: aed1a67a79eeae56ae96368b3380edd1e87829f9
However the change should have been to keep daemon.info since syslogd
uses the last match which was daemon.info.