diff options
author | Casey Deccio <casey@deccio.net> | 2019-03-13 00:31:57 +0300 |
---|---|---|
committer | Casey Deccio <casey@deccio.net> | 2019-03-13 00:33:03 +0300 |
commit | b83e8b57078bd96ccdf25da73bbfca0f0bcaee2b (patch) | |
tree | 921a7f0079c7933f8071c7f79d6195874b4c0eb6 | |
parent | 4a828cb490fb90c7fba44ee977569fe355f27857 (diff) |
Revert option changes
These accidentally crept in
-rw-r--r-- | dnsviz/commands/probe.py | 4 |
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: |