mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 07:35:26 +00:00
2225. [bug] More support for systems with no IPv4 addresses.
[RT #17111]
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,3 +1,6 @@
|
|||||||
|
2225. [bug] More support for systems with no IPv4 addresses.
|
||||||
|
[RT #17111]
|
||||||
|
|
||||||
2224. [bug] Defer journal compaction if a xfrin is in progress.
|
2224. [bug] Defer journal compaction if a xfrin is in progress.
|
||||||
[RT #17119]
|
[RT #17119]
|
||||||
|
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: ifiter_ioctl.c,v 1.57 2007/06/19 23:47:18 tbox Exp $ */
|
/* $Id: ifiter_ioctl.c,v 1.58 2007/08/30 06:02:28 marka Exp $ */
|
||||||
|
|
||||||
/*! \file
|
/*! \file
|
||||||
* \brief
|
* \brief
|
||||||
@@ -905,7 +905,8 @@ internal_next4(isc_interfaceiter_t *iter) {
|
|||||||
struct ifreq *ifrp;
|
struct ifreq *ifrp;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
REQUIRE (iter->pos < (unsigned int) iter->ifc.ifc_len);
|
REQUIRE(iter->ifc.ifc_len == 0 ||
|
||||||
|
iter->pos < (unsigned int) iter->ifc.ifc_len);
|
||||||
|
|
||||||
#ifdef __linux
|
#ifdef __linux
|
||||||
if (linux_if_inet6_next(iter) == ISC_R_SUCCESS)
|
if (linux_if_inet6_next(iter) == ISC_R_SUCCESS)
|
||||||
@@ -913,6 +914,10 @@ internal_next4(isc_interfaceiter_t *iter) {
|
|||||||
if (!iter->first)
|
if (!iter->first)
|
||||||
return (ISC_R_SUCCESS);
|
return (ISC_R_SUCCESS);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (iter->ifc.ifc_len == 0)
|
||||||
|
return (ISC_R_NOMORE);
|
||||||
|
|
||||||
#ifdef ISC_PLATFORM_HAVESALEN
|
#ifdef ISC_PLATFORM_HAVESALEN
|
||||||
ifrp = (struct ifreq *)((char *) iter->ifc.ifc_req + iter->pos);
|
ifrp = (struct ifreq *)((char *) iter->ifc.ifc_req + iter->pos);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user