Menu

#210 IF condition for DNS Options incorrect in tau_uri2Addr()

1.4.0.0
closed
None
2018-08-07
2018-07-24
No

In the function tau_uri2Addr() in tau_dnr.c:1296, the if condition which checks the DNS options to either use Standard DNS or TCN-DNS seems to be incorrect.

Instead of :

if (pDNR->useTCN_DNS != 0)
{
    updateTCNDNSentry(appHandle, pTemp, pUri);   /* Update everything, at least this URI */
}
else
{
    updateDNSentry(appHandle, pTemp, pUri);
}

Propose to change to:

if (pDNR->useTCN_DNS != TRDP_DNR_STANDARD_DNS)
{
    updateTCNDNSentry(appHandle, pTemp, pUri);   /* Update everything, at least this URI */
}
else
{
    updateDNSentry(appHandle, pTemp, pUri);
}

Find attached the proposed diff too.

1 Attachments

Discussion

  • Bernd Löhr

    Bernd Löhr - 2018-08-07
    • status: open --> pending
     
  • Bernd Löhr

    Bernd Löhr - 2018-08-07
    • Status: pending --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB