]> git.ipfire.org Git - thirdparty/suricata-update.git/commitdiff
changing source index from http_header to http-header to fix --http_header option
authormichael schem <michaelfschem@gmail.com>
Wed, 13 May 2020 00:40:30 +0000 (17:40 -0700)
committerJason Ish <jason.ish@oisf.net>
Thu, 28 May 2020 16:00:08 +0000 (10:00 -0600)
suricata/update/main.py

index bbb95f1b742a70e1f939a2c5b123e71f87d981cf..660d1e9e442a075aab2582715ecac45f84de2a4a 100644 (file)
@@ -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])