]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Specify that dnsmessage.proto uses protobuf version 2 5189/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 29 Nov 2016 08:48:36 +0000 (09:48 +0100)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 21 Mar 2017 15:48:22 +0000 (16:48 +0100)
Recent proto-c versions are complaining loudly otherwise.

pdns/dnsmessage.proto

index 79b5b08e9586fc816cecc678c79a6f8fba448c5f..9b2802699be33f39b100d156b0ecebb3058bbba1 100644 (file)
@@ -19,6 +19,8 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
+syntax = "proto2";
+
 message PBDNSMessage {
   enum Type {
     DNSQueryType = 1;