diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2013-06-18 18:40:40 -0400 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2013-06-18 18:40:40 -0400 |
commit | 37dffd2c06a524c120d445783bccdbf9b1119c00 (patch) | |
tree | 682dc38f24533f55db6b9f8a1b0a61cc533eda8b /config/snort/snort_list_view.php | |
parent | bc45f34c6e0ad58d6286da338e4962a86fbc9415 (diff) | |
download | pfsense-packages-37dffd2c06a524c120d445783bccdbf9b1119c00.tar.gz pfsense-packages-37dffd2c06a524c120d445783bccdbf9b1119c00.tar.bz2 pfsense-packages-37dffd2c06a524c120d445783bccdbf9b1119c00.zip |
Fix various HTML validation errors in markup.
Diffstat (limited to 'config/snort/snort_list_view.php')
-rw-r--r-- | config/snort/snort_list_view.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/snort/snort_list_view.php b/config/snort/snort_list_view.php index b7de064b..856367ef 100644 --- a/config/snort/snort_list_view.php +++ b/config/snort/snort_list_view.php @@ -47,10 +47,14 @@ $type = $_GET['type']; if (isset($id) && isset($wlist)) { $a_rule = $config['installedpackages']['snortglobal']['rule'][$id]; - if ($type == "whitelist") { + if ($type == "homenet") { $list = snort_build_list($a_rule, $wlist); $contents = implode("\n", $list); } + elseif ($type == "whitelist") { + $list = snort_build_list($a_rule, $wlist, true); + $contents = implode("\n", $list); + } elseif ($type == "suppress") { $list = snort_find_list($wlist, $type); $contents = str_replace("\r", "", base64_decode($list['suppresspassthru'])); |