]> git.sur5r.net Git - openldap/commitdiff
Revert previous commit. More thought needed re: IPV4 vs IPv6 failures
authorHoward Chu <hyc@openldap.org>
Wed, 9 Oct 2002 21:18:51 +0000 (21:18 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 9 Oct 2002 21:18:51 +0000 (21:18 +0000)
servers/slapd/daemon.c

index 99adbce057dabfb2670467a017e211ee42416231..f8fc27aef4e15295fe5f4779c03941d86e6d7e49 100644 (file)
@@ -783,8 +783,8 @@ static int slap_open_listener(
                       (long) l.sl_sd, err, sock_errstr(err) );
 #endif
                        tcp_close( l.sl_sd );
-                       slap_free_listener_addresses(psal);
-                       return -1;
+                       sal++;
+                       continue;
                }
 
        switch ( (*sal)->sa_family ) {