1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

increase log level for this failed setsockopt call. EINVAL is a normal error on Solaris when we do this on an already resetted connection.

(This used to be commit 42bc4ff7fd)
This commit is contained in:
Björn Jacke 2008-04-07 11:22:14 +02:00 committed by Volker Lendecke
parent 768a5a23e0
commit b6e9fffaa2

View File

@ -837,7 +837,10 @@ void set_socket_options(int fd, const char *options)
}
if (ret != 0) {
DEBUG(0,("Failed to set socket option %s (Error %s)\n",
/* be aware that some systems like Solaris return
* EINVAL to a setsockopt() call when the client
* sent a RST previously - no need to worry */
DEBUG(2,("Failed to set socket option %s (Error %s)\n",
tok, strerror(errno) ));
}
}