mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Clarify source port warning when editing a firewall rule.
This commit is contained in:
parent
d02ee1387f
commit
7ea6dabecb
@ -1329,9 +1329,9 @@ foreach (['src' => 'Source', 'dst' => 'Destination'] as $type => $name) {
|
||||
null,
|
||||
'fa-cog'
|
||||
))->setAttribute('type','button')->addClass('btn-info btn-sm')->setHelp(
|
||||
'The source port (or port range) is usually random and almost never equal '.
|
||||
'to the destination port range. It is not usually required, and should usually '.
|
||||
'be left at its default value, <b>any</b>).');
|
||||
'The <b>Source Port Range</b> for a connection is typically random '.
|
||||
'and almost never equal to the destination port. '.
|
||||
'In most cases this setting must remain at its default value, <b>any</b>.');
|
||||
}
|
||||
|
||||
$portValues = ['' => gettext('(other)'), 'any' => gettext('any')];
|
||||
@ -1339,7 +1339,7 @@ foreach (['src' => 'Source', 'dst' => 'Destination'] as $type => $name) {
|
||||
$portValues[$port] = $portName.' ('. $port .')';
|
||||
}
|
||||
|
||||
$group = new Form_Group($name .' port range');
|
||||
$group = new Form_Group($name .' Port Range');
|
||||
|
||||
$group->addClass($type . 'portrange');
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user