mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
forgot to actually change the macro call that needed the deconst argument
This commit is contained in:
parent
aa6db091d0
commit
900d7d9c9b
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: netaddr.c,v 1.17 2001/04/12 21:23:21 tale Exp $ */
|
||||
/* $Id: netaddr.c,v 1.18 2001/04/14 00:20:07 tale Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -265,7 +265,7 @@ isc_netaddr_fromv4mapped(isc_netaddr_t *t, const isc_netaddr_t *s) {
|
|||
DE_CONST(s, src); /* Must come before IN6_IS_ADDR_V4MAPPED. */
|
||||
|
||||
REQUIRE(s->family == AF_INET6);
|
||||
REQUIRE(IN6_IS_ADDR_V4MAPPED(&s->type.in6));
|
||||
REQUIRE(IN6_IS_ADDR_V4MAPPED(&src->type.in6));
|
||||
|
||||
memset(t, 0, sizeof(*t));
|
||||
t->family = AF_INET;
|
||||
|
|
|
|||
Loading…
Reference in a new issue