diff options
author | Ermal <eri@pfsense.org> | 2012-07-12 00:15:08 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-07-12 00:15:08 +0000 |
commit | 0c526216f2accddd96697aebcb95f2e0019e4e2f (patch) | |
tree | 9aba52c98eaace3a6d405e9bddd655b0ff9ba9e1 /config/snort | |
parent | 2d8df3495171d78d137033ca32df8fa5a3a96762 (diff) | |
download | pfsense-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.php | 2 |
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']) |