mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 16:14:40 +00:00
Firewall / Nat - portforward - sticky filter-rule-association settting for none/pass on copied items. closes https://github.com/opnsense/core/issues/4872
This commit is contained in:
parent
9d9f9c42f8
commit
da5df9590c
@ -1077,10 +1077,10 @@ $( document ).ready(function() {
|
||||
<td><a id="help_for_fra" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Filter rule association"); ?></td>
|
||||
<td>
|
||||
<select name="filter-rule-association">
|
||||
<option value=""><?=gettext("None"); ?></option>
|
||||
<option value="add-associated" selected="selected"><?=gettext("Add associated filter rule"); ?></option>
|
||||
<option value="" <?= empty($pconfig['associated-rule-id']) ? " selected=\"selected\"" : ""; ?>><?=gettext("None"); ?></option>
|
||||
<option value="add-associated" <?= !empty($pconfig['associated-rule-id']) && $pconfig['associated-rule-id'] != "pass" ? " selected=\"selected\"" : ""; ?>><?=gettext("Add associated filter rule"); ?></option>
|
||||
<option value="add-unassociated"><?=gettext("Add unassociated filter rule"); ?></option>
|
||||
<option value="pass"><?=gettext("Pass"); ?></option>
|
||||
<option value="pass" <?= $pconfig['associated-rule-id'] == "pass" ? " selected=\"selected\"" : ""; ?>><?=gettext("Pass"); ?></option>
|
||||
</select>
|
||||
<div class="hidden" data-for="help_for_fra">
|
||||
<?=gettext("NOTE: The \"pass\" selection does not work properly with Multi-WAN. It will only work on an interface containing the default gateway.")?>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user