diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2014-12-28 15:33:02 -0500 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2014-12-28 15:33:02 -0500 |
commit | e21ee2ef12f1302f454df38f030ea8c70dbaa411 (patch) | |
tree | a84d2e19d965b8d493ec2e5de2e62aeeaabaad1d | |
parent | 118c8ebbf9593189fba969f47f60753849181536 (diff) | |
download | pfsense-packages-e21ee2ef12f1302f454df38f030ea8c70dbaa411.tar.gz pfsense-packages-e21ee2ef12f1302f454df38f030ea8c70dbaa411.tar.bz2 pfsense-packages-e21ee2ef12f1302f454df38f030ea8c70dbaa411.zip |
Do not show md5 checksum files in IP LIST MGMT tab.
-rw-r--r-- | config/suricata/suricata_ip_list_mgmt.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/suricata/suricata_ip_list_mgmt.php b/config/suricata/suricata_ip_list_mgmt.php index 1d928531..ca7f85cf 100644 --- a/config/suricata/suricata_ip_list_mgmt.php +++ b/config/suricata/suricata_ip_list_mgmt.php @@ -290,7 +290,9 @@ if ($savemsg) height="17" border="0" title="<?php echo gettext('Import/Upload an IP List');?>"/></th> </tr> </thead> - <?php foreach ($ipfiles as $file): ?> + <?php foreach ($ipfiles as $file): + if (substr(strrchr($file, "."), 1) == "md5") + continue; ?> <tr> <td class="listr"><?php echo gettext($file); ?></td> <td class="listr"><?=date('M-d Y g:i a', filemtime("{$iprep_path}{$file}")); ?></td> |