--- rpl/src/instructions_t2.c 2010/03/09 10:18:49 1.6 +++ rpl/src/instructions_t2.c 2010/08/06 15:33:03 1.14 @@ -1,6 +1,6 @@ /* ================================================================================ - RPL/2 (R) version 4.0.13 + RPL/2 (R) version 4.0.18 Copyright (C) 1989-2010 Dr. BERTRAND Joël This file is part of RPL/2. @@ -20,7 +20,7 @@ */ -#include "rpl.conv.h" +#include "rpl-conv.h" /* @@ -1819,8 +1819,6 @@ instruction_target(struct_processus *s_e struct_objet *s_objet_argument_1; struct_objet *s_objet_argument_2; - unsigned char *nom; - unsigned long i; unsigned long nombre_elements; @@ -2154,6 +2152,7 @@ instruction_target(struct_processus *s_e else if ((*((struct_socket *) (*s_objet_argument_1).objet)) .domaine == PF_INET6) { // Résolution du nom en IPv6 +# ifdef IPV6 resolution_courante = resolution; while(resolution_courante != NULL) @@ -2201,6 +2200,8 @@ instruction_target(struct_processus *s_e (*resolution_courante).ai_addr)).sin6_addr .s6_addr[i]); } +# else +# endif } else {