Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Commit

Permalink
Fix DNS query_type option fetching
Browse files Browse the repository at this point in the history
Thank you Mr. KaliPatriot & Altoid0
  • Loading branch information
sourque authored Feb 21, 2022
1 parent 41d220e commit 1c73417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def checker(system, check, type, opts, team, ip):
elif type == "dns":
port = gopt('port', opts) or "53"
query = gopt('query', opts) or None
query_type = gopt('port', opts) or "A"
query_type = gopt('query_type', opts) or "A"
answer = gopt('answer', opts) or None
if not query or not answer:
result, error = (0, "No query specified")
Expand Down

0 comments on commit 1c73417

Please sign in to comment.