From: Stefan Schantl Date: Wed, 14 Apr 2021 18:38:59 +0000 (+0200) Subject: ids.cgi: Add the provider handle if the forced update of a provider X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=258924ee79cf096fd266a57bab5908155fb37f3a;p=people%2Fpmueller%2Fipfire-2.x.git ids.cgi: Add the provider handle if the forced update of a provider fails. Signed-off-by: Stefan Schantl --- diff --git a/html/cgi-bin/ids.cgi b/html/cgi-bin/ids.cgi index 27f72ba4d7..e5553480db 100644 --- a/html/cgi-bin/ids.cgi +++ b/html/cgi-bin/ids.cgi @@ -518,7 +518,7 @@ if ($cgiparams{'RULESET'} eq $Lang::tr{'ids apply'}) { # Call subfunction to download the ruleset. if(&IDS::downloadruleset($provider)) { - $errormessage = $Lang::tr{'could not download latest updates'}; + $errormessage = "$provider - $Lang::tr{'could not download latest updates'}"; # Call function to store the errormessage. &IDS::_store_error_message($errormessage);