From 698e3c2ac28b719ea228879b77bbc113ec3bd675 Mon Sep 17 00:00:00 2001 From: Christian Schmidt Date: Thu, 25 Jun 2009 07:35:57 +0200 Subject: [PATCH] Fixed Snort download rules again --- config/rootfiles/core/29/filelists/files | 1 + html/cgi-bin/ids.cgi | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/config/rootfiles/core/29/filelists/files b/config/rootfiles/core/29/filelists/files index 32f319c316..f2876f5893 100644 --- a/config/rootfiles/core/29/filelists/files +++ b/config/rootfiles/core/29/filelists/files @@ -1,2 +1,3 @@ etc/system-release srv/web/ipfire/cgi-bin/credits.cgi +srv/web/ipfire/cgi-bin/ids.cgi diff --git a/html/cgi-bin/ids.cgi b/html/cgi-bin/ids.cgi index 52ca549811..1cf5b8dec5 100644 --- a/html/cgi-bin/ids.cgi +++ b/html/cgi-bin/ids.cgi @@ -701,9 +701,7 @@ sub getmd5 { close($fh); } - my @temp=split(/= /,$md5buf->content); - - return $temp[1]; + return $md5buf->content; } sub downloadrulesfile { my $return = &geturl($url); -- 2.39.2