Commit 77fad835 authored by Mark Andrews's avatar Mark Andrews
Browse files

1762. [bug] isc_interfaceiter_create() could return ISC_R_SUCCESS

                        even when it failed. [RT #12995]
parent 892c9a88
......@@ -4,7 +4,8 @@
1763. [placeholder] rt13002
1762. [placeholder] rt12995
1762. [bug] isc_interfaceiter_create() could return ISC_R_SUCCESS
even when it failed. [RT #12995]
1761. [placeholder] rt12971
......
......@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: ifiter_ioctl.c,v 1.49 2004/06/22 05:25:49 marka Exp $ */
/* $Id: ifiter_ioctl.c,v 1.50 2004/11/10 22:22:10 marka Exp $ */
/*
* Obtain the list of network interfaces using the SIOCGLIFCONF ioctl.
......@@ -339,9 +339,8 @@ isc_interfaceiter_create(isc_mem_t *mctx, isc_interfaceiter_t **iterp) {
result = ISC_R_UNEXPECTED;
goto socket6_failure;
}
iter->result6 = getbuf6(iter);
if (iter->result6 != ISC_R_NOTIMPLEMENTED &&
iter->result6 != ISC_R_SUCCESS)
result = iter->result6 = getbuf6(iter);
if (result != ISC_R_NOTIMPLEMENTED && result != ISC_R_SUCCESS)
goto ioctl6_failure;
}
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment