aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_list_view.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/suricata/suricata_list_view.php')
-rw-r--r--config/suricata/suricata_list_view.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/suricata/suricata_list_view.php b/config/suricata/suricata_list_view.php
index 722bf47a..dc5a2b04 100644
--- a/config/suricata/suricata_list_view.php
+++ b/config/suricata/suricata_list_view.php
@@ -58,6 +58,11 @@ if (isset($id) && isset($wlist)) {
$contents = str_replace("\r", "", base64_decode($list['suppresspassthru']));
$title = "Suppress List";
}
+ elseif ($type == "externalnet") {
+ $list = suricata_build_list($a_rule, $wlist, false, true);
+ $contents = implode("\n", $list);
+ $title = "EXTERNAL_NET";
+ }
else
$contents = gettext("\n\nERROR -- Requested List Type entity is not valid!");
}