projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix typo 0fda572c88d02b0b200ef81d72cc4da594fa0e38 that prevented some errors from...
[tinc]
/
src
/
net_socket.c
diff --git
a/src/net_socket.c
b/src/net_socket.c
index
85bc4df
..
3bf7d75
100644
(file)
--- a/
src/net_socket.c
+++ b/
src/net_socket.c
@@
-43,8
+43,8
@@
int addressfamily = AF_UNSPEC;
int maxtimeout = 900;
int seconds_till_retry = 5;
int addressfamily = AF_UNSPEC;
int maxtimeout = 900;
int seconds_till_retry = 5;
-int udp_rcvbuf =
0
;
-int udp_sndbuf =
0
;
+int udp_rcvbuf =
1024 * 1024
;
+int udp_sndbuf =
1024 * 1024
;
int max_connection_burst = 100;
listen_socket_t listen_socket[MAXSOCKETS];
int max_connection_burst = 100;
listen_socket_t listen_socket[MAXSOCKETS];