From: Aki Tuomi Date: Tue, 20 Oct 2015 05:43:01 +0000 (+0300) Subject: Use DNSName for algo X-Git-Tag: dnsdist-1.0.0-alpha1~252^2~9^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e5d9043e6af7c7615e6f8578c6ef2fd7c702d256;p=pdns Use DNSName for algo --- diff --git a/pdns/saxfr.cc b/pdns/saxfr.cc index 768e0b513..3d0f40201 100644 --- a/pdns/saxfr.cc +++ b/pdns/saxfr.cc @@ -128,7 +128,7 @@ try input=""; DNSPacketWriter pwtkey(packet, gssctx.getLabel(), QType::TKEY, QClass::ANY); TKEYRecordContent tkrc; - tkrc.d_algo = "gss-tsig"; + tkrc.d_algo = DNSName("gss-tsig."); tkrc.d_inception = time((time_t*)NULL); tkrc.d_expiration = tkrc.d_inception+15; tkrc.d_mode = 3;