X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnet_socket.c;h=3bf7d757dcf489d0c5c292ccffa641fd900f2783;hb=c46bdbde18629f0a0613c776c13a79fea0ec6093;hp=85bc4df56993a4c5eda92c7acf6454100e3dc412;hpb=cfe9285adf391ab66faeb5def811fe08e47a221a;p=tinc diff --git a/src/net_socket.c b/src/net_socket.c index 85bc4df5..3bf7d757 100644 --- 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 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];