From: michael schem Date: Wed, 13 May 2020 00:40:30 +0000 (-0700) Subject: changing source index from http_header to http-header to fix --http_header option X-Git-Tag: 1.2.0rc1~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bb95afd5af9bd018023ab8ec81f554aa7e6dfed;p=thirdparty%2Fsuricata-update.git changing source index from http_header to http-header to fix --http_header option --- diff --git a/suricata/update/main.py b/suricata/update/main.py index bbb95f1..660d1e9 100644 --- a/suricata/update/main.py +++ b/suricata/update/main.py @@ -764,7 +764,7 @@ def load_sources(suricata_version): params.update(internal_params) if "url" in source: # No need to go off to the index. - http_header = source.get("http_header") + http_header = source.get("http-header") checksum = source.get("checksum") url = (source["url"] % params, http_header, checksum) logger.debug("Resolved source %s to URL %s.", name, url[0])