From 02b16dcc03a8beb0f8961d59ad1a39e668d0a8f9 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Sat, 16 Feb 2019 11:51:11 +0100 Subject: [PATCH] ids, rule-updater.py, cleanup unused --- src/opnsense/scripts/suricata/rule-updater.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/opnsense/scripts/suricata/rule-updater.py b/src/opnsense/scripts/suricata/rule-updater.py index 2fdf66c24..57b2034b8 100755 --- a/src/opnsense/scripts/suricata/rule-updater.py +++ b/src/opnsense/scripts/suricata/rule-updater.py @@ -76,7 +76,6 @@ if __name__ == '__main__': if rule['metadata_source'] not in metadata_sources: metadata_sources[rule['metadata_source']] = 0 if 'url' in rule['source']: - download_proto = str(rule['source']['url']).split(':')[0].lower() if dl.is_supported(url=rule['source']['url']): if rule['required'] and metadata_sources[rule['metadata_source']] > 0: # Required files are always sorted last in list_rules(), add required when there's at least one