From: Bob Halley Date: Wed, 13 Jan 2010 23:01:39 +0000 (-0800) Subject: specify tsig algorithm correctly when passing to use_tsig X-Git-Tag: v1.8.0~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a439a382de4b902878008784749fddb1312b0633;p=thirdparty%2Fdnspython.git specify tsig algorithm correctly when passing to use_tsig --- diff --git a/dns/query.py b/dns/query.py index 79327ca5..a907df0e 100644 --- a/dns/query.py +++ b/dns/query.py @@ -318,7 +318,7 @@ def xfr(where, zone, rdtype=dns.rdatatype.AXFR, rdclass=dns.rdataclass.IN, '. . %u 0 0 0 0' % serial) q.authority.append(rrset) if not keyring is None: - q.use_tsig(keyring, keyname, keyalgorithm) + q.use_tsig(keyring, keyname, algorithm=keyalgorithm) wire = q.to_wire() if af is None: try: