diff options
author | Bill Marquette <billm@pfsense.org> | 2005-05-26 02:54:29 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-05-26 02:54:29 +0000 |
commit | 3e1ffbcddc8eb000daeb59c1826cd7b38b1fc762 (patch) | |
tree | 1abca5558a6a326e0e224c883d52939ef5166977 /etc | |
parent | 1859a2e65441faafe4b8681a15963181ef1cdd9c (diff) | |
download | pfsense-3e1ffbcddc8eb000daeb59c1826cd7b38b1fc762.zip pfsense-3e1ffbcddc8eb000daeb59c1826cd7b38b1fc762.tar.gz |
Apply a label regardless of description missing, just make it be "USER RULE"
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/filter.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index cb62ef2..42f323a 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -1674,9 +1674,9 @@ EOD; if (!isset($rule['disabled'])) { // label if($rule['descr'] <> "" and $line <> "" and strpos($line, "label") > 0) { - $line .= "label \"USER_RULE: " . $rule['descr'] . "\" "; + $line .= " label \"USER_RULE: " . $rule['descr'] . "\" "; } else { - $line .= "# could not process \"USER_RULE: " . $rule['descr'] . "\" "; + $line .= " label \"USER_RULE\" "; } $line .= "\n"; $ipfrules .= $line; |