Don't terminate on an invalid address family.
authorJeremy Allison <jra@samba.org>
Wed, 24 Oct 2007 23:11:01 +0000 (16:11 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 24 Oct 2007 23:11:01 +0000 (16:11 -0700)
Jeremy.
(This used to be commit d04a8a6cdcc505e0244882a9abb7174eadbf81a7)

source3/smbd/server.c

index 61e20ce2740d62428eddf12848baeedf3c10ed50..0a292bc6167e82c2dede4830dee426f3584b5d19 100644 (file)
@@ -429,7 +429,7 @@ static bool open_sockets_smbd(bool is_daemon, bool interactive, const char *smb_
                                /* open an incoming socket */
                                if (!interpret_string_addr(&ss, sock_tok,
                                                AI_NUMERICHOST|AI_PASSIVE)) {
-                                       return false;
+                                       continue;
                                }
 
                                s = open_socket_in(SOCK_STREAM, port, 0,