Bernd Löhr
-
2018-08-07
- status: open --> pending
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.