]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
protect clua_context access w/ #ifdef
authorMark Andrews <marka@isc.org>
Wed, 3 Jul 2002 06:25:32 +0000 (06:25 +0000)
committerMark Andrews <marka@isc.org>
Wed, 3 Jul 2002 06:25:32 +0000 (06:25 +0000)
lib/isc/unix/ifiter_ioctl.c

index 79d501271b73f71ba96746b67b200c46893f9b19..455afb66f0b20ab306c45015bee64610b3591b58 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: ifiter_ioctl.c,v 1.32 2002/07/02 05:51:42 marka Exp $ */
+/* $Id: ifiter_ioctl.c,v 1.33 2002/07/03 06:25:32 marka Exp $ */
 
 /*
  * Obtain the list of network interfaces using the SIOCGLIFCONF ioctl.
@@ -314,7 +314,9 @@ isc_interfaceiter_create(isc_mem_t *mctx, isc_interfaceiter_t **iterp) {
         * A newly created iterator has an undefined position
         * until isc_interfaceiter_first() is called.
         */
+#ifdef HAVE_TRUCLUSTER
        iter->clua_context = -1;
+#endif
        iter->pos = (unsigned int) -1;
        iter->result = ISC_R_FAILURE;