Hi to all.


-------->

>From the 8.2.3 change list.

 910.   [bug]           address-sorting logic was exiting early.

        In src/bin/named/ns_forw.c: nslookup change

-----------------------------------------------------------------
        if (n > 1) {
                qsort((char *)qp->q_addr, n, sizeof(struct qserv),
                      (int (*)(const void *, const void *))qcomp);
        }
-----------------------------------------------------------------

        to

-----------------------------------------------------------------
        /* Just sort the NS RR's we added, since the forwarders may
         * be ahead of us (naddr > 0)
         */
        if (n > naddr) {
                qsort((char *)(qp->q_addr+naddr), n-naddr, sizeof(struct
qserv),
                      (int (*)(const void *, const void *))qcomp);
        }
-----------------------------------------------------------------




-- 
Yours Sincerly,                          __   _
              Christian Zoffoli         / /  (_)__  __ ____  __
                                       / /__/ / _ \/ // /\ \/ /  
 http://www.littlepenguin.org         /____/_/_//_/_,_/ /_/_\ 
  [EMAIL PROTECTED]     * *  LittlePenguin H 1   L.U.G.  * *

Reply via email to