From: Otto Moerbeek Date: Tue, 5 Nov 2019 09:04:33 +0000 (+0100) Subject: Typos in comments X-Git-Tag: dnsdist-1.4.0~16^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F8477%2Fhead;p=thirdparty%2Fpdns.git Typos in comments --- diff --git a/regression-tests.recursor-dnssec/test_Protobuf.py b/regression-tests.recursor-dnssec/test_Protobuf.py index 8bc65007f3..9a5d72fc4c 100644 --- a/regression-tests.recursor-dnssec/test_Protobuf.py +++ b/regression-tests.recursor-dnssec/test_Protobuf.py @@ -129,7 +129,7 @@ class TestRecursorProtobuf(RecursorTest): self.assertEquals(msg.id, query.id) self.assertTrue(msg.HasField('inBytes')) if normalQueryResponse: - # compare inBytes with length off query/response + # compare inBytes with length of query/response # Note that for responses, the size we received might differ # because dnspython might compress labels differently from # the recursor @@ -158,7 +158,7 @@ class TestRecursorProtobuf(RecursorTest): if length is not None: self.assertEquals(msg.inBytes, length) else: - # compare inBytes with length off query/response + # compare inBytes with length of query/response self.assertEquals(msg.inBytes, len(query.to_wire())) def checkProtobufQuery(self, msg, protocol, query, qclass, qtype, qname, initiator='127.0.0.1'): @@ -351,7 +351,7 @@ class OutgoingProtobufDefaultTest(TestRecursorProtobuf): _confdir = 'OutgoingProtobufDefault' _config_template = """ - # Switch of QName Minimization, it generates much more protobuf messages + # Switch off QName Minimization, it generates much more protobuf messages # (or make the test much more smart!) qname-minimization=no auth-zones=example=configs/%s/example.zone""" % _confdir @@ -383,7 +383,7 @@ class OutgoingProtobufNoQueriesTest(TestRecursorProtobuf): _confdir = 'OutgoingProtobufNoQueries' _config_template = """ - # Switch of QName Minimization, it generates much more protobuf messages + # Switch off QName Minimization, it generates much more protobuf messages # (or make the test much more smart!) qname-minimization=no auth-zones=example=configs/%s/example.zone""" % _confdir