Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dnsviz/dnsviz.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCasey Deccio <casey@deccio.net>2019-03-29 17:53:31 +0300
committerCasey Deccio <casey@deccio.net>2019-03-29 17:53:31 +0300
commit7587898c1c17007608a365e263b63883893325bb (patch)
tree30fe47f38a7fbdacc3e7ba80cceba56ad796870b
parent3020ba6aaccba27aea8d88ebf83ecf95789a015a (diff)
Fix arguments passed to process_looking_glass()
-rwxr-xr-xcontrib/digviz6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/digviz b/contrib/digviz
index 3eb899f..bb94899 100755
--- a/contrib/digviz
+++ b/contrib/digviz
@@ -319,7 +319,7 @@ class DigCommandLineQuery:
self.nameservers = nameservers + processed_nameservers
- def process_looking_glass(self, looking_glass_cache):
+ def process_looking_glass(self, looking_glass_cache, insecure):
if self.lg_url is None:
return
@@ -333,7 +333,7 @@ class DigCommandLineQuery:
url = urlparse.urlparse(self.lg_url)
if url.scheme in ('http', 'https'):
- fact = transport.DNSQueryTransportHandlerHTTPFactory(self.lg_url, insecure=options['insecure'])
+ fact = transport.DNSQueryTransportHandlerHTTPFactory(self.lg_url, insecure=insecure)
elif url.scheme == 'ws':
if url.hostname is not None:
usage('WebSocket URL must designate a local UNIX domain socket.')
@@ -528,7 +528,7 @@ class DigCommandLine:
for q in self.queries:
q.process_nameservers(self.nameservers, self.options['use_ipv4'], self.options['use_ipv6'])
q.process_query_options(self.global_query_options)
- q.process_looking_glass(looking_glass_cache)
+ q.process_looking_glass(looking_glass_cache, self.options['insecure'])
if not q.nameservers:
raise SemanticException('No nameservers to query')