From 02b0ad284644242270acd48fe878ec22cc15847e Mon Sep 17 00:00:00 2001 From: bert hubert Date: Fri, 13 Apr 2018 17:45:17 +0200 Subject: [PATCH] documentation, nits --- tdns/README.md | 4 ++-- tdns/dns-storage.hh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tdns/README.md b/tdns/README.md index 6411ac0..0fe84e9 100644 --- a/tdns/README.md +++ b/tdns/README.md @@ -356,7 +356,7 @@ packet: the 16 bit priority, followed by the name. Although names can not easily be dynamic within the DNS tree (either they exist or they don't), contents can be changed at will. -`tdns` defines a `time.powerdns.org` node which has a `ClockTXTGen`: +`tdns` defines a `time.tdns.powerdns.org` node which has a `ClockTXTGen`: ``` newzone->add({"time"})->addRRs(ClockTXTGen::make("The time is %a, %d %b %Y %T %z")); @@ -725,4 +725,4 @@ time.powerdns.org. 3600 IN TXT "The time is Fri, 13 Apr 2018 12:55:54 +0200" window.markdeepOptions={}; window.markdeepOptions.tocStyle = "long"; - \ No newline at end of file + diff --git a/tdns/dns-storage.hh b/tdns/dns-storage.hh index 541186e..a98efab 100644 --- a/tdns/dns-storage.hh +++ b/tdns/dns-storage.hh @@ -91,7 +91,7 @@ struct DNSName std::ostream & operator<<(std::ostream &os, const DNSName& d); DNSName operator+(const DNSName& a, const DNSName& b); -struct DNSMessageWriter; +class DNSMessageWriter; struct RRGen { virtual void toMessage(DNSMessageWriter& dpw) = 0;