BIND 9.3.0beta2 is now available.

Danny Mayer mayer at gis.net
Mon Apr 19 13:43:05 UTC 2004


At 12:13 AM 4/19/2004, Mark Andrews wrote:

> > --- lib/dns/include/dns/message.h.old Sun Mar 07 21:08:00 2004
> > +++ lib/dns/include/dns/message.h     Sun Apr 18 18:29:57 2004
> > @@ -176,7 +176,7 @@
> >       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 */
> >
>         I'm not going to worry about this.  It will trigger
>         a major number change w/ the shared library.

In that case you need to make the following change to lib/dns/resolver.c:

--- resolver.c.old      Mon Mar 15 21:18:02 2004
+++ resolver.c  Mon Apr 19 09:39:39 2004
@@ -1559,7 +1559,7 @@
                 sep2 = ") ";
         } else if (reason == DNS_R_UNEXPECTEDOPCODE) {
                 isc_buffer_init(&b, code, sizeof(code) - 1);
-               dns_opcode_totext(fctx->rmessage->opcode, &b);
+               dns_opcode_totext((dns_opcode_t) fctx->rmessage->opcode, &b);
                 code[isc_buffer_usedlength(&b)] = '\0';
                 sep1 = "(";
                 sep2 = ") ";

Danny

>--
>Mark Andrews, ISC
>1 Seymour St., Dundas Valley, NSW 2117, Australia
>PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org




More information about the bind-workers mailing list