summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbustico2015-05-11 14:27:48 +0000
committerbustico2015-05-11 14:27:48 +0000
commit8e6e53b7131ca9990fad8e9aacd99c6c3e479a6f (patch)
treefc8dc941b3ba0d0047aef8a8d12e603bfc3112ad
parent56d99d9c7ef788e64c80ef4d1bea90865aec86d5 (diff)
downloadivy-c-8e6e53b7131ca9990fad8e9aacd99c6c3e479a6f.zip
ivy-c-8e6e53b7131ca9990fad8e9aacd99c6c3e479a6f.tar.gz
ivy-c-8e6e53b7131ca9990fad8e9aacd99c6c3e479a6f.tar.bz2
ivy-c-8e6e53b7131ca9990fad8e9aacd99c6c3e479a6f.tar.xz
° more precise warning message when SO_REUSEPORT if available at compilation but not at execution
-rw-r--r--src/ivysocket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ivysocket.c b/src/ivysocket.c
index 6cd479a..5bbc3ae 100644
--- a/src/ivysocket.c
+++ b/src/ivysocket.c
@@ -344,7 +344,7 @@ Server SocketServer(int ipv6, unsigned short port,
if (setsockopt (fd, SOL_SOCKET, SO_REUSEPORT, (char *)&one, sizeof (one)) < 0)
{
- perror ("*** WARNING non existent socket option REUSEPORT, Ivy may FAIL ***");
+ perror ("*** WARNING non existent socket option SO_REUSEPORT, Ivy may MISBEHAVE ***");
// exit(0);
}
#endif
@@ -952,7 +952,7 @@ Client SocketBroadcastCreate (int ipv6, unsigned short port,
if (setsockopt (handle, SOL_SOCKET, SO_REUSEPORT, (char *)&on, sizeof (on)) < 0)
{
- perror ("*** WARNING non existent socket option REUSEPORT, Ivy may FAIL ***");
+ perror ("*** WARNING non existent socket option SO_REUSEPORT, Ivy may MISBEHAVE ***");
//return NULL;
}
#endif