diff options
Diffstat (limited to 'net-irc/echat/files/echat-0.04_beta1-reuseaddr.patch')
-rw-r--r-- | net-irc/echat/files/echat-0.04_beta1-reuseaddr.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-irc/echat/files/echat-0.04_beta1-reuseaddr.patch b/net-irc/echat/files/echat-0.04_beta1-reuseaddr.patch new file mode 100644 index 000000000000..ccb10758a821 --- /dev/null +++ b/net-irc/echat/files/echat-0.04_beta1-reuseaddr.patch @@ -0,0 +1,11 @@ +--- sock_udp.c.orig 2003-08-19 11:47:12.000000000 +0300 ++++ sock_udp.c 2004-02-13 15:08:51.000000000 +0200 +@@ -110,7 +110,7 @@ + exit(EXIT_FAILURE); + } + #ifdef PORTREUSE +- if (setsockopt(sfdcl, SOL_SOCKET, SO_REUSEPORT, &s, sizeof(s)) < 0) { ++ if (setsockopt(sfdcl, SOL_SOCKET, SO_REUSEADDR, &s, sizeof(s)) < 0) { + #ifdef DEBUG + fprintf(debug_file, "setsockopt(): %s\n", strerror(errno)); + fflush(debug_file); |