summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-03 00:04:01 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-03 00:04:01 +0000
commit833f94fc8afd2549c85e5ba2e47f77b1bcdd7255 (patch)
treecee2a93c65dba546f17ccea442c06c62b2f7d43e
parentac55a7091e0fb301dc7406b688975f6d36d4b6b3 (diff)
downloadpfsense-833f94fc8afd2549c85e5ba2e47f77b1bcdd7255.zip
pfsense-833f94fc8afd2549c85e5ba2e47f77b1bcdd7255.tar.gz
Treat line_split as an array
-rw-r--r--etc/inc/filter.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index fe014e7..c75ee17 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -146,7 +146,7 @@ function filter_configure() {
$line_error = split("\:", $rules_error);
$line_number = $line_error[1];
$line_split = split("\n", `cat /tmp/rules.debug`);
- $line_error = "The line in question reads: " . $line_split($line_number);
+ $line_error = "The line in question reads: " . $line_split[$line_number];
return "There was an error loading the rules.<p><pre>" . $rules_error . "\n" . $line_error . "</pre>";
} else {
/* process packager manager custom rules */
@@ -1397,7 +1397,7 @@ EOD;
/* OS signatures */
if (($rule['protocol'] == "tcp") && ($rule['os'] <> ""))
$line .= "os {$rule['os']} ";
-
+
}
/* destination address */
OpenPOWER on IntegriCloud