Add ntoe about default log level for verbose options
Verbose options can log additional information that may only be shown
with the respective log level.
Remove stale gw group "dirty" flag file
The gateway group "dirty" flag file is left behind when a gateway group
is added and removed without applying changes in between.
Separate RAM disk dir names from multiple packages. Fix #16724
The result of xmllint is a line-separated string which is then meant to
be translated to a space-separated string. However the space separator
itself was not being included. This change adds it.
Fix the installer network import function with vlans.
Make the proper use of the interface name in comparison.
Fixes the missing settings on wan to block reserved networks on the 1100
and other systems with vlans.
Ticket: #21104
Relax type requirements for gateway status helper functions
Some callers of the helper functions do not validate the arguments.
Handle this in the helper functions for better compatibility.
Followup to ddd366b3706a7c24d2406b9ccfdca76a0dca4be4.
Fix option matching and alert message.
The previous condition check resulted in false positives. Use
preg_match() for easier readability. While here also fix the notice.
Followup to fb490d5ff0f9eb5a42a8b20e6f2d9e4001252d57.
Implement helper functions for determining the gateway status. Implement #16707
Add the helper functions:
- get_gateway_status()
- is_gateway_online()
- is_gateway_action_enabled()
- is_gateway_state_killing_enabled()
- get_gateway_status_text()
These functions help to maintain consistency between functions during
script execution by reusing the status information fetched previously.
Additionally the helper functions allow for improved code readability.
Relevant code that now uses the helper functions has been updated
accordingly to avoid redundant checks and improve readability.
Fix a regression with the v6 IP aliases on PPPoE interfaces (with if_pppoe).
Without this change no v6 aliases can be added to the interface.
Ticket: #16594
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.