X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnet_setup.c;h=d78912614762a65d9d5e2ec14e2398457cbf2cce;hb=f41e5faeaae94973ef1040356532afa277ae130f;hp=1ecb3c65f2cdf697ab111e946f7e8bedd5af5c1e;hpb=3bfdf45893f28f232c5851eb67d1800dc5004687;p=tinc diff --git a/src/net_setup.c b/src/net_setup.c index 1ecb3c65..d7891261 100644 --- a/src/net_setup.c +++ b/src/net_setup.c @@ -935,6 +935,8 @@ static bool setup_myself(void) { logger(DEBUG_ALWAYS, LOG_ERR, "UDPRcvBuf cannot be negative!"); return false; } + + udp_rcvbuf_warnings = true; } if(get_config_int(lookup_config(config_tree, "UDPSndBuf"), &udp_sndbuf)) { @@ -942,6 +944,8 @@ static bool setup_myself(void) { logger(DEBUG_ALWAYS, LOG_ERR, "UDPSndBuf cannot be negative!"); return false; } + + udp_sndbuf_warnings = true; } get_config_int(lookup_config(config_tree, "FWMark"), &fwmark);