blob: ccb10758a821dd6a7e17aef0ec2b14e00f6f8ea3 (
plain)
1
2
3
4
5
6
7
8
9
10
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);
|