summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-21 16:38:18 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-21 16:38:18 +0000
commitbf4841ff6d263ccc4dd28a4478482a857b18e42a (patch)
treef0792816e0fdaa25de4c6bf92eded9fd919aef0a /usr
parent63868cb8fbf2c888d1a191632bae7a1860081a43 (diff)
downloadpfsense-bf4841ff6d263ccc4dd28a4478482a857b18e42a.zip
pfsense-bf4841ff6d263ccc4dd28a4478482a857b18e42a.tar.gz
Remove iplen settings. We're no longer on ipfw any more, toto.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/firewall_shaper_edit.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/usr/local/www/firewall_shaper_edit.php b/usr/local/www/firewall_shaper_edit.php
index 4979710..2434ca7 100755
--- a/usr/local/www/firewall_shaper_edit.php
+++ b/usr/local/www/firewall_shaper_edit.php
@@ -73,7 +73,6 @@ if (isset($id) && $a_shaper[$id]) {
$pconfig['direction'] = $a_shaper[$id]['direction'];
$pconfig['iptos'] = $a_shaper[$id]['iptos'];
- $pconfig['iplen'] = $a_shaper[$id]['iplen'];
$pconfig['tcpflags'] = $a_shaper[$id]['tcpflags'];
$pconfig['descr'] = $a_shaper[$id]['descr'];
$pconfig['disabled'] = isset($a_shaper[$id]['disabled']);
@@ -237,10 +236,6 @@ if ($_POST) {
$_POST['dstbeginport'] = $tmp;
}
- if (($_POST['iplen'] && !preg_match("/^(\d+)(-(\d+))?$/", $_POST['iplen']))) {
- $input_errors[] = "The IP packet length must be an integer or a range (from-to).";
- }
-
if (!$input_errors) {
$shaperent = array();
$shaperent['interface'] = $_POST['interface'];
@@ -259,7 +254,6 @@ if ($_POST) {
$_POST['dstbeginport'], $_POST['dstendport']);
$shaperent['direction'] = $_POST['direction'];
- $shaperent['iplen'] = $_POST['iplen'];
$shaperent['iptos'] = $_POST['iptos'];
$shaperent['tcpflags'] = $_POST['tcpflags'];
$shaperent['descr'] = $_POST['descr'];
@@ -654,14 +648,6 @@ function dst_rep_change() {
</span></td>
</tr>
<tr>
- <td width="22%" valign="top" class="vncell">IP packet length</td>
- <td width="78%" class="vtable"><input name="iplen" type="text" id="iplen" size="10" value="<?=htmlspecialchars($pconfig['iplen']);?>">
- <br>
- Setting this makes the rule match packets of a given length
- (either a single value or a range in the syntax <em>from-to</em>,
- e.g. 0-80). </td>
- </tr>
- <tr>
<td width="22%" valign="top" class="vncell">TCP flags</td>
<td width="78%" class="vtable"> <table border="0" cellspacing="0" cellpadding="0">
<?php
OpenPOWER on IntegriCloud