diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2015-12-12 22:18:57 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2015-12-12 22:18:57 +0000 |
commit | a7af7146c91c816cb83e0c5812eca7019531acb5 (patch) | |
tree | 6e64b645522115b817ba7eabd4e4ce58f129e8c7 /pythonmod/doc/modules/struct.rst | |
parent | 835a7e7a4dd68819f7610dafdf9277d3852aef6a (diff) |
Notes
Diffstat (limited to 'pythonmod/doc/modules/struct.rst')
-rw-r--r-- | pythonmod/doc/modules/struct.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pythonmod/doc/modules/struct.rst b/pythonmod/doc/modules/struct.rst index c41e10b73df5..669f36d91ea2 100644 --- a/pythonmod/doc/modules/struct.rst +++ b/pythonmod/doc/modules/struct.rst @@ -347,12 +347,12 @@ DNSMessage .. method:: __init__(self, rr_name, rr_type, rr_class = RR_CLASS_IN, query_flags = 0, default_ttl = 0) - Prepares an answer (DNS packet) from qiven information. Query flags are combination of PKT_xx contants. + Prepares an answer (DNS packet) from given information. Query flags are combination of PKT_xx constants. .. method:: set_return_msg(self, qstate) This method fills qstate return message according to the given informations. - It takes lists of RRs in each section of answer, created necessray RRsets in wire format and store the result in :attr:`qstate.return_msg`. + It takes lists of RRs in each section of answer, created necessary RRsets in wire format and store the result in :attr:`qstate.return_msg`. Returns 1 if OK. .. attribute:: rr_name |