diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2004-12-21 01:46:29 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2004-12-21 01:46:29 +0000 |
commit | e3c4b6b767d3610774a2be78d4389908ede98807 (patch) | |
tree | b67350133467b1e9cccbfaa812d0591536d88ffd /usr/local/www/firewall_rules_edit.php | |
parent | 98bbf05a82a4b45c1a37542979310c22c4ba17a1 (diff) | |
download | pfsense-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-x | usr/local/www/firewall_rules_edit.php | 18 |
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 "any"). <br> Hint: you can leave the <em>'to'</em> field empty if you only want to filter a single port</span></td> |