diff options
-rw-r--r-- | usr/local/www/diag_showbogons.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/diag_showbogons.php b/usr/local/www/diag_showbogons.php index 4f75c70..f5f8fc1 100644 --- a/usr/local/www/diag_showbogons.php +++ b/usr/local/www/diag_showbogons.php @@ -43,8 +43,8 @@ if($_POST['Download']) { if(file_exists("/tmp/bogons")) { $savemsg = "The bogons database has been updated."; exec("egrep -v '^192.168.0.0/16|^172.16.0.0/12|^10.0.0.0/8' /tmp/bogons > /etc/bogons"); + exec("rm /tmp/bogons"); } - exec("rm /tmp/bogons"); } $bogons = `cat /etc/bogons`; |