Don't print out debug messages at level 0 if we can't
authorJeremy Allison <jra@samba.org>
Thu, 10 Jan 2008 23:15:01 +0000 (15:15 -0800)
committerJeremy Allison <jra@samba.org>
Thu, 10 Jan 2008 23:15:01 +0000 (15:15 -0800)
commit13785d5c62093540139094f6dfcf808100790939
treefa130d2ef7cdbea024709e538abbb518d9fd1593
parente17642e849b28c323ba6bd7cc212455d727901db
Don't print out debug messages at level 0 if we can't
bind to a socket if we've already bound to one (this
prevents :
bind failed on port 445 socket_addr = 0.0.0.0.
Error = Address already in use
bind failed on port 139 socket_addr = 0.0.0.0.
Error = Address already in use
messages when trying to bind to an IPv4 address
when we've already bound to the IPv6 equivalent.
Jeremy.
(This used to be commit 3936de735a7bb548df8ce7f06f2cc8f7ffdf56cd)
source3/smbd/server.c