From 0c526216f2accddd96697aebcb95f2e0019e4e2f Mon Sep 17 00:00:00 2001 From: Ermal Date: Thu, 12 Jul 2012 00:15:08 +0000 Subject: Decode properly the pass through config so its readble --- config/snort/snort_interfaces_edit.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config/snort/snort_interfaces_edit.php') 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']) -- cgit v1.2.3