]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
use dns_opcode_t
authorMark Andrews <marka@isc.org>
Mon, 11 May 2015 02:16:44 +0000 (12:16 +1000)
committerMark Andrews <marka@isc.org>
Mon, 11 May 2015 02:16:44 +0000 (12:16 +1000)
lib/dns/include/dns/message.h

index db85b668e107dc7caa406692f10c872eedd5a307..cb6e606466ed78653dc0e07f81698e46f7a3b03f 100644 (file)
@@ -197,7 +197,7 @@ struct dns_message {
        dns_messageid_t                 id;
        unsigned int                    flags;
        dns_rcode_t                     rcode;
-       unsigned int                    opcode;
+       dns_opcode_t                    opcode;
        dns_rdataclass_t                rdclass;
 
        /* 4 real, 1 pseudo */