]> git.pld-linux.org Git - packages/echat.git/blobdiff - echat-so_reuseport.patch
- new/updated
[packages/echat.git] / echat-so_reuseport.patch
diff --git a/echat-so_reuseport.patch b/echat-so_reuseport.patch
new file mode 100644 (file)
index 0000000..9b2b72c
--- /dev/null
@@ -0,0 +1,12 @@
+diff -urN echat-0.04beta1.org/sock_udp.c echat-0.04beta1/sock_udp.c
+--- echat-0.04beta1.org/sock_udp.c     2003-08-20 15:11:25.000000000 +0200
++++ echat-0.04beta1/sock_udp.c 2003-08-20 15:27:01.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);
This page took 0.073714 seconds and 4 git commands to generate.