]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Specify that dnsmessage.proto uses protobuf version 2 4756/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 29 Nov 2016 08:48:36 +0000 (09:48 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 12 Dec 2016 08:37:25 +0000 (09:37 +0100)
Recent proto-c versions are complaining loudly otherwise.

(cherry picked from commit 2e14d4bbf6549c70e3422b315287bc69bfe398dd)

pdns/dnsmessage.proto

index 36814c9a0ba053e85d3bf6b4ea3b2637e6e77001..e5acc5bc5d5a8b13563cb81872f2731c996aab64 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;