Merge branch 'marka-set-suffix-in-ans.py' into 'main'

Ensure suffix is always valid in bin/tests/system/qmin/ans4/ans.py (CID 350722)

See merge request isc-projects/bind9!6593
This commit is contained in:
Mark Andrews
2022-07-27 16:24:02 +00:00

View File

@@ -58,6 +58,7 @@ def create_response(msg):
qname = m.question[0].name.to_text()
lqname = qname.lower()
labels = lqname.split(".")
suffix = ""
# get qtype
rrtype = m.question[0].rdtype