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-13 00:31:57 +0300
committerCasey Deccio <casey@deccio.net>2019-03-13 00:33:03 +0300
commitb83e8b57078bd96ccdf25da73bbfca0f0bcaee2b (patch)
tree921a7f0079c7933f8071c7f79d6195874b4c0eb6
parent4a828cb490fb90c7fba44ee977569fe355f27857 (diff)
Revert option changes
These accidentally crept in
-rw-r--r--dnsviz/commands/probe.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/dnsviz/commands/probe.py b/dnsviz/commands/probe.py
index e86cabc..c121ba0 100644
--- a/dnsviz/commands/probe.py
+++ b/dnsviz/commands/probe.py
@@ -1176,14 +1176,14 @@ def main(argv):
query_class_mixin = CustomQueryMixin
if '-e' in opts:
CustomQueryMixin.edns_options.append(_get_ecs_option(opts['-e']))
+ if '-n' in opts:
+ CustomQueryMixin.edns_options.append(_get_nsid_option())
if '-c' in opts:
if opts['-c']:
CustomQueryMixin.edns_options.append(_get_dns_cookie_option(opts['-c']))
else:
# No cookie option was specified, so generate one
CustomQueryMixin.edns_options.append(_get_dns_cookie_option())
- if '-n' not in opts:
- CustomQueryMixin.edns_options.append(_get_nsid_option())
name_objs = []
if '-r' in opts: