]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
contrib/ldnsx: fix spelling of unnecessary 172/head
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 14 Apr 2022 01:37:00 +0000 (18:37 -0700)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 14 Apr 2022 01:37:00 +0000 (18:37 -0700)
contrib/ldnsx/ldnsx.py

index 357a97dddf2838720ef630cfad82c58d1c2cb845..e2bd0e517e316b3d8083ab81bc4f1b4aad32b8a6 100644 (file)
@@ -384,7 +384,7 @@ class resolver:
                        >>>       tlds.append(rr.owner())
 
                """
-               #Dname seems to be unecessary on some computers, but it is on others. Avoid bugs.
+               #Dname seems to be unnecessary on some computers, but it is on others. Avoid bugs.
                if self._ldns_resolver.axfr_start(ldns.ldns_dname(name), ldns.LDNS_RR_CLASS_IN) != ldns.LDNS_STATUS_OK:
                        raise Exception("Starting AXFR failed. Error: %s" % ldns.ldns_get_errorstr_by_id(status))
                pres = self._ldns_resolver.axfr_next()