mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 05:28:00 +00:00
2225. [bug] More support for systems with no IPv4 addresses.
[RT #17111]
This commit is contained in:
parent
d4034b48fd
commit
8a45eeebb8
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.
|
||||
[RT #17119]
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
* 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
|
||||
* \brief
|
||||
@ -905,7 +905,8 @@ internal_next4(isc_interfaceiter_t *iter) {
|
||||
struct ifreq *ifrp;
|
||||
#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
|
||||
if (linux_if_inet6_next(iter) == ISC_R_SUCCESS)
|
||||
@ -913,6 +914,10 @@ internal_next4(isc_interfaceiter_t *iter) {
|
||||
if (!iter->first)
|
||||
return (ISC_R_SUCCESS);
|
||||
#endif
|
||||
|
||||
if (iter->ifc.ifc_len == 0)
|
||||
return (ISC_R_NOMORE);
|
||||
|
||||
#ifdef ISC_PLATFORM_HAVESALEN
|
||||
ifrp = (struct ifreq *)((char *) iter->ifc.ifc_req + iter->pos);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user