Ticket #461: remove_default_rcvbuf_sndbuf_values.patch

File remove_default_rcvbuf_sndbuf_values.patch, 421 bytes (added by ValdikSS, 6 years ago)
  • src/openvpn/options.c

    diff --git a/src/openvpn/options.c b/src/openvpn/options.c
    index f0091c2..cdd055f 100644
    a b init_options (struct options *o, const bool init_gc) 
    796796#ifdef ENABLE_FEATURE_TUN_PERSIST
    797797  o->persist_mode = 1;
    798798#endif
    799 #ifndef WIN32
    800   o->rcvbuf = 65536;
    801   o->sndbuf = 65536;
    802 #endif
    803799#ifdef TARGET_LINUX
    804800  o->tuntap_options.txqueuelen = 100;
    805801#endif