summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_rules_edit.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2004-12-21 01:46:29 +0000
committerScott Ullrich <sullrich@pfsense.org>2004-12-21 01:46:29 +0000
commite3c4b6b767d3610774a2be78d4389908ede98807 (patch)
treeb67350133467b1e9cccbfaa812d0591536d88ffd /usr/local/www/firewall_rules_edit.php
parent98bbf05a82a4b45c1a37542979310c22c4ba17a1 (diff)
downloadpfsense-e3c4b6b767d3610774a2be78d4389908ede98807.zip
pfsense-e3c4b6b767d3610774a2be78d4389908ede98807.tar.gz
Finish packaging storage mechanism. Upon package deletin the package manager will loop through the variables and set them so that you can invoke commands such as system("pw userdel " . $username); from the xml configuration file.
Diffstat (limited to 'usr/local/www/firewall_rules_edit.php')
-rwxr-xr-xusr/local/www/firewall_rules_edit.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php
index 21186eb..4eaba1b 100755
--- a/usr/local/www/firewall_rules_edit.php
+++ b/usr/local/www/firewall_rules_edit.php
@@ -322,6 +322,14 @@ if ($_POST) {
$filterent['frags'] = $_POST['frags'] ? true : false;
$filterent['descr'] = $_POST['descr'];
+ /* ALTQ */
+ $filterent['direction'] = $_POST['direction'];
+ $filterent['queue'] = $_POST['queue'];
+
+ /* Advanced options */
+ $filterent['max-src-nodes'] = $_POST['max-src-nodes'];
+ $filterent['max-src-states'] = $_POST['max-src-states'];
+
if (isset($id) && $a_filter[$id])
$a_filter[$id] = $filterent;
else {
@@ -331,14 +339,6 @@ if ($_POST) {
$a_filter[] = $filterent;
}
- /* ALTQ */
- $filterent['direction'] = $_POST['direction'];
- $filterent['queue'] = $_POST['queue'];
-
- /* Advanced options */
- $filterent['max-src-nodes'] = $_POST['max-src-nodes'];
- $filterent['max-src-states'] = $_POST['max-src-states'];
-
write_config();
touch($d_filterconfdirty_path);
@@ -652,7 +652,7 @@ function dst_rep_change() {
</select> <input name="srcendport_cust" type="text" size="5" value="<?php if (!$bfound && $pconfig['srcendport']) echo $pconfig['srcendport']; ?>"></td>
</tr>
</table>
- <span class="vexpl">Specify the port or port range for
+ <span class="vexpl">Specify the port or port range for
the source of the packet for this rule. This is usually not equal to the destination port range (and is often &quot;any&quot;). <br>
Hint: you can leave the <em>'to'</em> field empty if you only
want to filter a single port</span></td>
OpenPOWER on IntegriCloud