]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Fix build error when only protobuf is enabled 16281/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 16 Oct 2025 13:11:56 +0000 (15:11 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 16 Oct 2025 13:11:56 +0000 (15:11 +0200)
commita279a1453094d0abfc847aa790bc82addc14cc62
tree691a30e2d480262d082573b00b0ef27fd6f357e5
parenteaf206bf568e9b26ac698f172ad794d044ca9e9e
dnsdist: Fix build error when only protobuf is enabled

The build fails with:
```
../dnsdist-protobuf.cc: In member function ‘void DNSDistProtoBufMessage::serialize(std::string&) const’:
../dnsdist-protobuf.cc:205:7: error: ‘vinfolog’ was not declared in this scope
  205 |       vinfolog("Error while parsing the RRs from a response packet to add them to the protobuf message: %s", exp.what());
      |       ^~~~~~~~
```
because of a missing header.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
pdns/dnsdistdist/dnsdist-protobuf.cc