]>
Commit | Line | Data |
---|---|---|
2345a501 AM |
1 | diff -urN echat-0.04beta1.org/sock_udp.c echat-0.04beta1/sock_udp.c |
2 | --- echat-0.04beta1.org/sock_udp.c 2003-08-20 15:11:25.000000000 +0200 | |
3 | +++ echat-0.04beta1/sock_udp.c 2003-08-20 15:27:01.000000000 +0200 | |
4 | @@ -110,7 +110,7 @@ | |
5 | exit(EXIT_FAILURE); | |
6 | } | |
7 | #ifdef PORTREUSE | |
8 | - if (setsockopt(sfdcl, SOL_SOCKET, SO_REUSEPORT, &s, sizeof(s)) < 0) { | |
9 | + if (setsockopt(sfdcl, SOL_SOCKET, SO_REUSEADDR, &s, sizeof(s)) < 0) { | |
10 | #ifdef DEBUG | |
11 | fprintf(debug_file, "setsockopt(): %s\n", strerror(errno)); | |
12 | fflush(debug_file); |