| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\ |
|
| |
| |
| |
| | |
Redmine #4859 fix for RELENG_2_2
|
| |
| |
| |
| | |
To be consistent with the checks in the rest of this code.
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
If the Advanced Settings are saved before any other IPsec is set up then $config['ipsec'] can be just the empty string. As a result you can get:
a) If you select some debug settings then those are not saved. The code to save those settings was only executed when $config['ipsec'] was already an array. Actually the code already did the necessary "if isset() then unset()" stuuf. So I just took the the "if is_array()" away from the code block.
b) Some potential unset() can go wrong with errors like:
Fatal error: Cannot unset string offsets in /usr/local/www/vpn_ipsec_settings.php on line 168
This is corrected by adding more "if (isset())" checks.
Fixes Redmine #4865
Conflicts:
usr/local/www/vpn_ipsec_settings.php
|
| |
|
|
|
|
| |
exec.php. Setup a link to download the status output.tgz in status.php
|
|
|
|
| |
Clarify that this applies to DNS Resolver as well.
|
|
|
|
| |
Clarify that this applies to DNS Resolver as well.
|
|\ |
|
| |
| |
| |
| |
| | |
Reduces useless CPU use on the pfSense box when the dashboard is
displayed with the Traffic Graphs widget.
|
| |
| |
| |
| |
| | |
The GUI should show descriptions according to what's selected from the dropdown, but currently does not for URL Table (IPs) and URL Table (Ports) type of aliases.
This is for RELENG_2_2 branch.
|
| |
| |
| |
| |
| |
| | |
mandatory. Revert "myid_data and peerid_data fields are not relevant with asn1dn."
This reverts commit b8754cc85db7e92322f605bbb4b2f90bde90bb7f.
|
| | |
|
| |
| |
| | |
Improve this a little more to match only alpha after /dev/cua (/dev/cuau for example)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It originally coped with things like cuau1 cuau1.1
Then I made it cope with things like cuau1 cuau11 but it stopped working for cuau1.1
This one copes with:
cuau1
cuau1.1
cuau1.11
cuau11
cuau11.1
cuau11.11
That should allow for all sorts of reasonable device name files without matching other stuff in /dev (like cuau1.init cuau1.lock) that we need to ignore.
Please think if I have covered the bases here.
|
| | |
|
| |
| |
| | |
Cherry pick of https://github.com/pfsense/pfsense/commit/90ad3a76edae543bcc63252b14660ac4baee291e
|
|\ \ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
If you open firewall_aliases_import and enter just an invalid Alias Name (e.g. a$b) and press save or press save with all fields empty, then the screen redraws but the input error(s) is not displayed.
This fixes it.
|
| | |
| | |
| | |
| | |
| | |
| | | |
If you click "+" to add an alias, then press Save without entering anything, you get:
Warning: Invalid argument supplied for foreach() in /usr/local/www/firewall_aliases_edit.php on line 402
as well as the various messages related to $input_errors.
This change ensures that $input_addresses array always exists (even if it has no real entries) so that the foreach() warning does not happen.
|
| | |
| | |
| | | |
Make the required fields be correct and match thier text names, which should each have their own gettext() cal so as to build a proper array at line 81. Basically it was all broken and the errors displayed when field/s were left empty were rubbish.
|
| | |
| | |
| | |
| | |
| | | |
The reqdfields had only 4 entries but reqdfieldsn has 5 entries and the field names to text descriptions did not match up.
Fixed it.
|
|/ /
| |
| |
| |
| | |
If you go to Interfaces, assign, PPPs, press "+" to add an entry, then press Save without entering anything then you get a warning about the foreach() here.
The is_array() check fixes it.
|
| |
| |
| |
| |
| | |
Removing the "." that was in {,.[0-9]} allows it to match /dev/cuau10 and onward.
I added lots of comments on the glob expression, because the format of the glob expression is not the same as an ordinary regex.
|
| |
| |
| |
| | |
specified.
|
| |
| |
| |
| | |
b45537f75b24bc323987094e459db7b2f75aa405
|
| | |
|
| |
| |
| |
| |
| | |
makes QinQ un-deletable where the parent interface no longer exists
(removed, config restored from diff hardware, etc.).
|
| |
| |
| |
| | |
When enabling or disabling a route by using the enable/disable button on the Routes page, the destination network was not being put in the config change description, although the code intended it to be there.
This fixes it.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
|
|
|
| |
Fix delete Java Script to match valid HTML ID
|
|
|
|
|
|
|
|
|
| |
html id's not permitted to begin with a number.
html id's not permitted to contain '/'
add prefix (entry_) and replace slash with hyphen.
table entry id format becomes: entry_<ip address>-<cidr>
replacing the format: <ip address>/<cidr>
does not change the displayed format.
|
| |
|
| |
|
|
|
|
|
| |
At the confirmation dialog after pressing the "Reinstall XML" button, the text does not distinguish between having pressed "Reinstall the whole package" and "Reinstall the GUI/XML". It would be nice if the text of this confirmation allowed the user to be confident about which button they had just pushed, before confirming the action.
Note: This stuff has no gettext() wrappers - but that can be fixed later, not get mixed up in this.
|
|
|
|
| |
functional, not maintained, and have potential security issues.
|