aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-07-12 00:15:08 +0000
committerErmal <eri@pfsense.org>2012-07-12 00:15:08 +0000
commit0c526216f2accddd96697aebcb95f2e0019e4e2f (patch)
tree9aba52c98eaace3a6d405e9bddd655b0ff9ba9e1 /config/snort
parent2d8df3495171d78d137033ca32df8fa5a3a96762 (diff)
downloadpfsense-packages-0c526216f2accddd96697aebcb95f2e0019e4e2f.tar.gz
pfsense-packages-0c526216f2accddd96697aebcb95f2e0019e4e2f.tar.bz2
pfsense-packages-0c526216f2accddd96697aebcb95f2e0019e4e2f.zip
Decode properly the pass through config so its readble
Diffstat (limited to 'config/snort')
-rw-r--r--config/snort/snort_interfaces_edit.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/snort/snort_interfaces_edit.php b/config/snort/snort_interfaces_edit.php
index 4985c13b..614fbb52 100644
--- a/config/snort/snort_interfaces_edit.php
+++ b/config/snort/snort_interfaces_edit.php
@@ -59,6 +59,8 @@ $snort_uuid = $pconfig['uuid'];
if (isset($id) && $a_rule[$id]) {
/* old options */
$pconfig = $a_rule[$id];
+ if (!empty($pconfig['configpassthru']))
+ $pconfig['configpassthru'] = base64_decode($pconfig['configpassthru']);
if (empty($pconfig['uuid']))
$pconfig['uuid'] = $snort_uuid;
if (!$pconfig['interface'])